import React from 'react' import { Meta } from '@storybook/react' import { Icon as IconComponent } from './Icon' import { icons } from './icons-path' export default { title: 'Icons', component: IconComponent, } as Meta export const Example = (args: any) => Example.args = { icon: 'cog' } export const IconsList = () => { return ( <>
There are {Object.keys(icons).length} icons
) }