import { FC } from 'react' ; import { ErrorProvider } from '@features' ; import { Layout } from '@features/Layout' ; import AppLoading from './AppLoading' ; export default { title : 'Atoms/AppLoading' , component : AppLoading , decorators : [ ( Story ) => ( < ErrorProvider > < Story /> < /ErrorProvider>) ] } ; export const Default = ( ) => < AppLoading />; export const InLayout = ( ) => ( < Layout > < AppLoading /> < /Layout>);