v3/src/design-system/atoms/sparkle/Sparkle.stories.tsx

22 lines
533 B
TypeScript

import * as React from 'react';
import { SparkleOverlay } from './Sparkle';
import { Button } from 'roleypoly/design-system/atoms/button';
import { Hero } from 'roleypoly/design-system/atoms/hero';
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>
);