UNPKG

ruffer-pattern-portfolio

Version:

This is the end result from https://dev.to/swyx/quick-guide-to-setup-your-react--typescript-storybook-design-system-1c51

20 lines (19 loc) 604 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var props = { Rows: [] }; var loadingProps = { error: true, Rows: [] }; var errorProps = { loading: true, Rows: [] }; // storiesOf('Molecule|PortfolioTable', module) // .addDecorator(withKnobs) // .addDecorator(story => <div style={{ padding: '3rem' }}>{story()}</div>) // .add('default', () => <PortfolioTable {...object('properties', { ...props })} />) // .add('loading', () => <PortfolioTable {...loadingProps} />) // .add('error', () => <PortfolioTable {...errorProps} />);