UNPKG

lucid-ui

Version:

A UI component library from Xandr.

26 lines 785 B
import React from 'react'; import Underline from './Underline'; export default { title: 'Controls/Underline', component: Underline, parameters: { docs: { description: { component: Underline.peek.description, }, }, }, }; /* With Defaults */ export const WithDefaults = (args) => { return React.createElement(Underline, { ...args }, "foo bar baz"); }; /* With Regex Match */ export const WithRegexMatch = (args) => { return (React.createElement(Underline, { ...args, match: /foo?/i }, "foo bar baz")); }; /* With String Match */ export const WithStringMatch = (args) => { return (React.createElement(Underline, { ...args, match: 'bar' }, "foo bar baz")); }; //# sourceMappingURL=Underline.stories.js.map