lucid-ui
Version:
A UI component library from Xandr.
25 lines • 853 B
JavaScript
import React from 'react';
import { ExampleComponent } from './ExampleComponent';
export default {
title: 'Documentation/ExampleComponent',
component: ExampleComponent,
parameters: {
docs: {
description: {
component: ExampleComponent.description,
},
},
},
argTypes: {
children: {
control: false,
},
},
};
export const Basic = (args) => {
return (React.createElement(ExampleComponent, { ...args }, "Feel free to play with this example component to see how to create your own."));
};
export const PropExample = (args) => {
return (React.createElement(ExampleComponent, { ...args, isX: true }, "Be sure to show consumers of your component examples of how each prop is implemented."));
};
//# sourceMappingURL=ExampleComponent.stories.js.map