UNPKG

@salesforce/design-system-react

Version:

Salesforce Lightning Design System for React

32 lines 856 B
import React from 'react'; import { storiesOf } from '@storybook/react'; import { BADGE } from '../../../utilities/constants'; import Default from '../__examples__/default'; import WithIcon from '../__examples__/with-icon'; import ColorVariants from '../__examples__/color-variants'; storiesOf(BADGE, module).addDecorator(function (getStory) { return ( /*#__PURE__*/ React.createElement("div", { style: { padding: '1rem' } }, getStory()) ); }).add('Default', function () { return ( /*#__PURE__*/ React.createElement(Default, null) ); }).add('w/ Icons', function () { return ( /*#__PURE__*/ React.createElement(WithIcon, null) ); }).add('Color Variants', function () { return ( /*#__PURE__*/ React.createElement(ColorVariants, null) ); }); //# sourceMappingURL=storybook-stories.js.map