github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/stories/Icon.stories.tsx (about)

     1  /* eslint-disable react/jsx-props-no-spreading */
     2  import React from 'react';
     3  import Icon from '@ui/Icon';
     4  import { ComponentMeta } from '@storybook/react';
     5  import { faClock } from '@fortawesome/free-solid-svg-icons/faClock';
     6  import '../webapp/sass/profile.scss';
     7  
     8  export default {
     9    title: 'Components/Icon',
    10    component: Icon,
    11  } as ComponentMeta<typeof Icon>;
    12  
    13  export const BasicIcon = () => <Icon icon={faClock} />;