mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-18 10:29:08 +00:00
chore: restructure project into yarn workspaces, remove next
This commit is contained in:
parent
49e308507e
commit
8d06327c03
266 changed files with 16466 additions and 3350 deletions
22
packages/design-system/atoms/sparkle/Sparkle.stories.tsx
Normal file
22
packages/design-system/atoms/sparkle/Sparkle.stories.tsx
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { Button } from '@roleypoly/design-system/atoms/button';
|
||||
import { Hero } from '@roleypoly/design-system/atoms/hero';
|
||||
import * as React from 'react';
|
||||
import { SparkleOverlay } from './Sparkle';
|
||||
|
||||
export default {
|
||||
title: 'Atoms/Sparkle',
|
||||
component: SparkleOverlay,
|
||||
args: {
|
||||
size: -10,
|
||||
opacity: 1,
|
||||
repeatCount: 3,
|
||||
},
|
||||
};
|
||||
|
||||
export const ExampleButton = (args) => (
|
||||
<Hero>
|
||||
<SparkleOverlay {...args}>
|
||||
<Button>Yo check this!</Button>
|
||||
</SparkleOverlay>
|
||||
</Hero>
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue