lucid-ui
Version:
A UI component library from Xandr.
26 lines • 857 B
JavaScript
import React from 'react';
import OverlayWrapper from './OverlayWrapper';
import BarChart from '../BarChart/BarChart';
export default {
title: 'Utility/OverlayWrapper',
component: OverlayWrapper,
parameters: {
docs: {
description: {
component: OverlayWrapper.peek.description,
},
},
},
};
/* Basic */
export const Basic = (args) => {
return (React.createElement(OverlayWrapper, { ...args, isVisible: true },
React.createElement(OverlayWrapper.Message, null, "Message Goes Here"),
React.createElement(BarChart, { data: [
{ x: '2015-01-01', y: 1 },
{ x: '2015-01-02', y: 2 },
{ x: '2015-01-03', y: 3 },
{ x: '2015-01-04', y: 5 },
] })));
};
//# sourceMappingURL=OverlayWrapper.stories.js.map