Skip to content

Commit

Permalink
feat:🎸 update icons from figma (#16)
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
Co-authored-by: tonkotsuboy <[email protected]>
  • Loading branch information
github-actions[bot] and tonkotsuboy authored Jan 22, 2025
1 parent 8091bf7 commit 6dcb400
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/alertA-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions assets/alertB-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions src/AlertAIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import Svg, { Path } from 'react-native-svg';
import type { SvgProps } from 'react-native-svg';
interface ISvgProps extends SvgProps {
xmlns?: string;
xmlnsXlink?: string;
xmlSpace?: string;
}
const SvgAlertAIcon = (props: ISvgProps) => (
<Svg xmlns="http://www.w3.org/2000/svg" width={24} height={24} fill="none" viewBox="0 0 24 24" {...props}>
<Path
fill="currentColor"
d="M13 13a1 1 0 1 1-2 0v-3a1 1 0 1 1 2 0zM12 18a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5"
/>
<Path
fill="currentColor"
fillRule="evenodd"
d="M12 2a1 1 0 0 1 .862.493l10 17A1 1 0 0 1 22 21H2a1 1 0 0 1-.862-1.507l10-17A1 1 0 0 1 12 2m8.252 17L12 4.972 3.748 19z"
clipRule="evenodd"
/>
</Svg>
);
export default SvgAlertAIcon;
22 changes: 22 additions & 0 deletions src/AlertBIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import Svg, { Path } from 'react-native-svg';
import type { SvgProps } from 'react-native-svg';
interface ISvgProps extends SvgProps {
xmlns?: string;
xmlnsXlink?: string;
xmlSpace?: string;
}
const SvgAlertBIcon = (props: ISvgProps) => (
<Svg xmlns="http://www.w3.org/2000/svg" width={24} height={24} fill="none" viewBox="0 0 24 24" {...props}>
<Path
fill="currentColor"
d="M13 12a1 1 0 1 1-2 0V8a1 1 0 1 1 2 0zM12 17a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5"
/>
<Path
fill="currentColor"
fillRule="evenodd"
d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2m0 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16"
clipRule="evenodd"
/>
</Svg>
);
export default SvgAlertBIcon;
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ export { default as AccountIcon } from './AccountIcon';
export { default as AccountSettingIcon } from './AccountSettingIcon';
export { default as AddressIcon } from './AddressIcon';
export { default as AlertIcon } from './AlertIcon';
export { default as AlertAIcon } from './AlertAIcon';
export { default as AlertBIcon } from './AlertBIcon';
export { default as AmbulanceIcon } from './AmbulanceIcon';
export { default as ArrowADownIcon } from './ArrowADownIcon';
export { default as ArrowALeftIcon } from './ArrowALeftIcon';
Expand Down

0 comments on commit 6dcb400

Please sign in to comment.