Skip to content

Commit

Permalink
Added more entries to storybook
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
  • Loading branch information
aaronchongth committed Aug 8, 2023
1 parent 763fe88 commit c76af16
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@ import { storiesOf } from '@storybook/react';
import { makeBeaconState } from './test-utils.spec';

storiesOf('BeaconDataGridTable', module)
.add('Default', () => <BeaconDataGridTable beacons={[makeBeaconState()]} />)
.add('Default', () => (
<BeaconDataGridTable
beacons={[
makeBeaconState({ id: 'test_beacon1' }),
makeBeaconState({ id: 'test_beacon2', activated: true }),
makeBeaconState({ id: 'test_beacon3', online: false }),
]}
/>
))
.add('Empty', () => <BeaconDataGridTable beacons={[]} />);

0 comments on commit c76af16

Please sign in to comment.