summaryrefslogtreecommitdiffstats
path: root/stories/react/Panel.stories.js
blob: f87eefbde407eea947a6360dfdb9ea900cfac98d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import React from 'react';
import Examples from './utils/Examples.js';
import Panel from '../../src/react/Panel.js';
import Checkbox from '../../src/react/Checkbox.js';
import HTMLBasic from '../../components/panel/basic-panel.html';
let examples = {
    Basic: {
        jsx:
            <Panel>
                <h3>Panel</h3>
                <Checkbox label='filter-item' />
                <Checkbox checked label='filter-item-checked' />
            </Panel>,
        html: HTMLBasic
    }
};

const PanelStory = () => (
    <Examples examples={examples} />
);

export default PanelStory;