import React from 'react'; import { Story, Meta } from '@storybook/react'; import { EmptyStateWrapper, IEmptyStateWrapperProps, } from './EmptyStateWrapper'; export default { title: 'Utility/EmptyStateWrapper', component: EmptyStateWrapper, parameters: { docs: { description: { component: EmptyStateWrapper.peek.description, }, }, }, argTypes: { children: { control: false, }, }, } as Meta; /* Basic */ export const Basic: Story = (args) => { return ; }; Basic.args = { Title: 'Empty State Wrapper', isEmpty: true, isLoading: false, anchorMessage: false, }; /* isLoading */ export const IsLoading: Story = (args) => { return ; }; IsLoading.args = { isEmpty: false, isLoading: true, anchorMessage: false, }; /* YouHaveNoData */ export const YouHaveNoData: Story = (args) => { return ; }; YouHaveNoData.args = { isEmpty: true, isLoading: false, anchorMessage: false, };