Skip to content

Commit

Permalink
remove filled story as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Pawan Kumar authored and Pawan Kumar committed Sep 13, 2024
1 parent d168fc1 commit 50b1dbb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ export interface IconProps extends DOMProps, AriaLabelingProps {
name: keyof typeof ICONS;
/** Storke width */
stroke?: number;
/** Filled variant */
filled?: boolean;
/** Defines a string value that labels the current element. */
"aria-label"?: string;
/** Defines the role of an element. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,6 @@ export const CustomIcon: Story = {
),
};

/**
* For some icons, you can also pass a `filled` prop to the Icon component to get a filled variant. If there is no filled variant, it will just display the normal icon.
*/

export const Filled: Story = {
render: () => (
<Flex gap="spacing-2">
<Icon name="stars" />
<Icon filled name="stars" />
</Flex>
),
};

export const AllIcons: Story = {
render: () => (
<div
Expand Down

0 comments on commit 50b1dbb

Please sign in to comment.