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

     1  import React from 'react';
     2  import NoData from '@ui/NoData';
     3  import Box from '@ui/Box';
     4  import { ComponentStory, ComponentMeta } from '@storybook/react';
     5  import '../webapp/sass/profile.scss';
     6  
     7  const Template: ComponentStory<typeof NoData> = () => {
     8    return (
     9      <Box>
    10        <NoData />
    11      </Box>
    12    );
    13  };
    14  
    15  export default {
    16    title: 'Components/NoData',
    17    component: NoData,
    18  } as ComponentMeta<typeof NoData>;
    19  
    20  export const ConfirmationModal = Template.bind({});