UNPKG

@arche-mc2/arche-controls

Version:

We know that there are a ton of react UI library projects to choose from. Our hope with this one is to provide the next generation of react components that you can use to bootstrap your next project, or as a reference for building a UIKit. Read on to get

23 lines 1.26 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var React = require("react"); var UpLigne_1 = require("./UpLigne"); var stories_1 = require("../../../Common/stories"); var addon_knobs_1 = require("@storybook/addon-knobs"); var Tooltip_1 = require("../../Display/Tooltip"); var typestyle_1 = require("typestyle"); exports.default = { title: 'Components/Display/UpLigne', decorators: [addon_knobs_1.withKnobs, stories_1.getRootContainer('UpLigne')], component: UpLigne_1.UpLigne }; exports.General = function () { return (React.createElement(UpLigne_1.default, null, "My message")); }; exports.WithTooltip = function () { return (React.createElement(Tooltip_1.default, { id: 'Tooltip', title: 'Détails', content: 'Pour plus d\'info, veuillez consulter le site de notre produit...' }, React.createElement(UpLigne_1.default, { dataFor: 'Tooltip' }, "Hover to display Tooltip"))); }; exports.WithCustomization = function () { return (React.createElement(UpLigne_1.default, { className: typestyle_1.style({ fontWeight: 'bold', color: '#000 !important', backgroundColor: '#F59100', padding: '10px' }) }, "My message")); }; //# sourceMappingURL=index.stories.js.map