Skip to content

Commit 4f35237

Browse files
author
Yonatan Kra
committed
chore(storybook): add vivid-latest data grid example
1 parent 18a8fa8 commit 4f35237

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

stories/v3/v3.stories.jsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import VwcOption from '../../dist/v3/VwcOption'
66
import VwcRadio from '../../dist/v3/VwcRadio'
77
import VwcTooltip from '../../dist/v3/VwcTooltip'
88
import VwcRadioGroup from '../../dist/v3/VwcRadioGroup'
9+
import VwcDataGrid from '../../dist/v3/VwcDataGrid'
10+
import VwcDataGridRow from '../../dist/v3/VwcDataGridRow'
11+
import VwcDataGridCell from '../../dist/v3/VwcDataGridCell'
912
import { initVivid } from '../../src/initialization/initVivid'
1013

1114
export const VwcBadge_ = () =>
@@ -46,6 +49,19 @@ export const VwcTooltip_ = () =>
4649
/>
4750
</>
4851

52+
export const VwcDataGrid_ = () =>
53+
<>
54+
<VwcDataGrid >
55+
<VwcDataGridRow type="rowheader">
56+
<VwcDataGridCell>Header 1</VwcDataGridCell>
57+
<VwcDataGridCell>Header 2</VwcDataGridCell>
58+
</VwcDataGridRow>
59+
<VwcDataGridRow>
60+
<VwcDataGridCell>Row 1 Cell 1</VwcDataGridCell>
61+
<VwcDataGridCell>Row 1 Cell 2</VwcDataGridCell>
62+
</VwcDataGridRow>
63+
</VwcDataGrid>
64+
</>
4965
export default {
5066
title: 'V3',
5167
decorators: [

0 commit comments

Comments
 (0)