Skip to content

Commit

Permalink
feat(icon): add arrow-right-up icon
Browse files Browse the repository at this point in the history
  • Loading branch information
pinarkizilarslan committed Mar 4, 2024
1 parent bd816a1 commit 74338c1
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/stories/components/icon.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ Icon names are in the list, fixed and cannot be used outside the list.
`arrow-down`,
`arrow-left`,
`arrow-right`,
`arrow-right-up`,
`arrow-up`,
`attach`,
`automatic-pricing`,
Expand Down
1 change: 1 addition & 0 deletions src/components/Icon/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const iconList = [
'arrow-down',
'arrow-left',
'arrow-right',
'arrow-right-up',
'arrow-up',
'attach',
'automatic-pricing',
Expand Down
19 changes: 19 additions & 0 deletions src/icons/ArrowRightUp.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import * as React from 'react';
import Svg, { SvgProps, Path } from 'react-native-svg';
const SvgArrowRightUp = (props: SvgProps) => (
<Svg
width={24}
height={24}
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}>
<Path
fillRule="evenodd"
clipRule="evenodd"
d="M10.57 8h5.726c.389 0 .704.315.704.704v5.726a.704.704 0 1 1-1.409 0v-4.025l-6.389 6.389a.704.704 0 1 1-.996-.996l6.389-6.39H10.57a.704.704 0 1 1 0-1.408Z"
fill={props?.fill ?? '#273142'}
/>
</Svg>
);
export default SvgArrowRightUp;
1 change: 1 addition & 0 deletions src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export { default as Announcement } from './Announcement';
export { default as Archive } from './Archive';
export { default as ArrowDown } from './ArrowDown';
export { default as ArrowLeft } from './ArrowLeft';
export { default as ArrowRightUp } from './ArrowRightUp';
export { default as ArrowRight } from './ArrowRight';
export { default as ArrowUp } from './ArrowUp';
export { default as Attach } from './Attach';
Expand Down
3 changes: 3 additions & 0 deletions src/svg-icons/arrow-right-up.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 74338c1

Please sign in to comment.