import type { Meta, StoryObj } from '@storybook/react' import { Icon, Icons } from './index' import { getGlobalStyle } from '../../../helpers' const meta: Meta = { component: Icon, title: 'atoms/Icon', args: { icon: 'MiniCheck', size: 24 } } export default meta type Story = StoryObj export const IconoMiniCheck: Story = { args: { icon: 'MiniCheck', size: 24 } } export const allIcons: React.FC = () => { const keys = Object.keys(Icons) return (
{keys.map((key) => (
{key}
))}
) }