Skip to content

Commit

Permalink
chore: add missing storybook component
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamKelley committed May 10, 2024
1 parent 34aa351 commit e6e0031
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/tokens/.storybook/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,19 @@ export const BoxShadowSwatch = function ShadowSwatch(
</div>
);
};

export const BorderSwatch = function BorderSwatch(
props: React.ComponentProps<typeof Swatch>
) {
return (
<div style={{ padding: 4 }}>
<Swatch
{...props}
style={{
margin: 4,
...props.style,
}}
/>
</div>
);
};

0 comments on commit e6e0031

Please sign in to comment.