-
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.
Merge pull request #23 from storybookjs/charles-update-menu-icon
Update menu icon
- Loading branch information
Showing
7 changed files
with
79 additions
and
5 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 { AlignLeftIcon } from './AlignLeftIcon'; | ||
|
||
const meta: Meta<typeof AlignLeftIcon> = { | ||
component: AlignLeftIcon, | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof AlignLeftIcon>; | ||
|
||
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,24 @@ | ||
import * as React from 'react'; | ||
import { IconProps } from '../types'; | ||
|
||
export const AlignLeftIcon = /* @__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 | ||
d="M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z" | ||
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 { AlignRightIcon } from './AlignRightIcon'; | ||
|
||
const meta: Meta<typeof AlignRightIcon> = { | ||
component: AlignRightIcon, | ||
}; | ||
|
||
export default meta; | ||
type Story = StoryObj<typeof AlignRightIcon>; | ||
|
||
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,24 @@ | ||
import * as React from 'react'; | ||
import { IconProps } from '../types'; | ||
|
||
export const AlignRightIcon = /* @__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 | ||
d="M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z" | ||
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
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