-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add StatusFailIcon, StatusPassIcon, StatusWarnIcon
- Loading branch information
1 parent
0f7242a
commit 553dca3
Showing
8 changed files
with
130 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import type { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { StatusFailIcon } from './StatusFailIcon'; | ||
|
||
const meta: Meta<typeof StatusFailIcon> = { | ||
component: StatusFailIcon, | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof StatusFailIcon>; | ||
|
||
export const Default: Story = { args: { size: 100 } }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import * as React from 'react'; | ||
import { IconProps } from '../types'; | ||
|
||
export const StatusFailIcon = /* @__PURE__ */ React.forwardRef< | ||
SVGSVGElement, | ||
IconProps | ||
>(({ color = 'currentColor', size = 14, ...props }, forwardedRef) => { | ||
return ( | ||
<svg | ||
width={size} | ||
height={size} | ||
viewBox="0 0 14 14" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
ref={forwardedRef} | ||
{...props} | ||
> | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z" | ||
fill={color} | ||
/> | ||
</svg> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import type { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { StatusPassIcon } from './StatusPassIcon'; | ||
|
||
const meta: Meta<typeof StatusPassIcon> = { | ||
component: StatusPassIcon, | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof StatusPassIcon>; | ||
|
||
export const Default: Story = { args: { size: 100 } }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import * as React from 'react'; | ||
import { IconProps } from '../types'; | ||
|
||
export const StatusPassIcon = /* @__PURE__ */ React.forwardRef< | ||
SVGSVGElement, | ||
IconProps | ||
>(({ color = 'currentColor', size = 14, ...props }, forwardedRef) => { | ||
return ( | ||
<svg | ||
width={size} | ||
height={size} | ||
viewBox="0 0 14 14" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
ref={forwardedRef} | ||
{...props} | ||
> | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z" | ||
fill={color} | ||
/> | ||
</svg> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import type { Meta, StoryObj } from '@storybook/react'; | ||
|
||
import { StatusWarnIcon } from './StatusWarnIcon'; | ||
|
||
const meta: Meta<typeof StatusWarnIcon> = { | ||
component: StatusWarnIcon, | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof StatusWarnIcon>; | ||
|
||
export const Default: Story = { args: { size: 100 } }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import * as React from 'react'; | ||
import { IconProps } from '../types'; | ||
|
||
export const StatusWarnIcon = /* @__PURE__ */ React.forwardRef< | ||
SVGSVGElement, | ||
IconProps | ||
>(({ color = 'currentColor', size = 14, ...props }, forwardedRef) => { | ||
return ( | ||
<svg | ||
width={size} | ||
height={size} | ||
viewBox="0 0 14 14" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
ref={forwardedRef} | ||
{...props} | ||
> | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z" | ||
fill={color} | ||
/> | ||
</svg> | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters