1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Small update to badgewrapper story (#18450)

This commit is contained in:
George Marshall 2023-04-05 08:37:09 -07:00 committed by GitHub
parent 40628da3b4
commit 94292fadc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ export const DefaultStory = Template.bind({});
DefaultStory.storyName = 'Default';
export const Children = () => (
export const Children: ComponentStory<typeof BadgeWrapper> = () => (
<Box display={DISPLAY.FLEX} gap={4}>
<BadgeWrapper
badge={
@ -140,7 +140,7 @@ export const Children = () => (
</Box>
);
export const Badge = () => (
export const Badge: ComponentStory<typeof BadgeWrapper> = () => (
<Box display={DISPLAY.FLEX} gap={4}>
<BadgeWrapper
badge={
@ -207,7 +207,7 @@ export const Badge = () => (
</Box>
);
export const Position = () => (
export const Position: ComponentStory<typeof BadgeWrapper> = () => (
<Box display={DISPLAY.FLEX} gap={4}>
<BadgeWrapper
position={BadgeWrapperPosition.topLeft}
@ -263,7 +263,7 @@ export const Position = () => (
</Box>
);
export const PositionObj = () => (
export const PositionObj: ComponentStory<typeof BadgeWrapper> = () => (
<Box display={DISPLAY.FLEX} alignItems={AlignItems.baseline} gap={4}>
<BadgeWrapper
badge={
@ -281,7 +281,7 @@ export const PositionObj = () => (
</Box>
);
export const AnchorElementShape = () => (
export const AnchorElementShape: ComponentStory<typeof BadgeWrapper> = () => (
<Box display={DISPLAY.FLEX} gap={4}>
<BadgeWrapper
badge={