import { action } from 'storybook/actions'; import React from 'react'; import { AttachmentProvider, AttachmentTable, } from '../src/lib/organisms/attachments/AttachmentTable'; import { Box } from '../src/lib/next'; import { useTheme } from 'styled-components'; export default { title: 'Components/AttachmentTable', component: AttachmentTable, }; export const Playground = { render: () => { const theme = useTheme(); return ( { console.log('changed'); }} /> ); }, }; export const FailToLoad = { render: () => { const theme = useTheme(); return ( { console.log('changed'); }} /> ); }, };