UNPKG

@salesforce/design-system-react

Version:

Salesforce Lightning Design System for React

41 lines 1.69 kB
import React from 'react'; import { action } from '@storybook/addon-actions'; import { storiesOf } from '@storybook/react'; import Default from '../__examples__/default'; import DefaultWithAutoplay from '../__examples__/default-with-autoplay'; import DefaultWithNavigation from '../__examples__/default-with-navigation'; import FiveItems from '../__examples__/five-items'; import ThreeItems from '../__examples__/three-items'; import ThreeItemsControlled from '../__examples__/three-items-controlled'; import WithCustomItems from '../__examples__/with-custom-items'; import { CAROUSEL } from '../../../utilities/constants'; storiesOf(CAROUSEL, module).add('Default (1 item) NoImageTest', function () { return /*#__PURE__*/React.createElement(Default, { action: action }); }).add('Default with navigation indicators NoImageTest', function () { return /*#__PURE__*/React.createElement(DefaultWithNavigation, { action: action }); }).add('Default with Autoplay NoImageTest', function () { return /*#__PURE__*/React.createElement(DefaultWithAutoplay, { action: action }); }).add('3 items NoImageTest', function () { return /*#__PURE__*/React.createElement(ThreeItems, { action: action }); }).add('3 items controlled isInfinite NoImageTest', function () { return /*#__PURE__*/React.createElement(ThreeItemsControlled, { action: action }); }).add('5 items NoImageTest', function () { return /*#__PURE__*/React.createElement(FiveItems, { action: action }); }).add('With custom items NoImageTest', function () { return /*#__PURE__*/React.createElement(WithCustomItems, { action: action }); }); //# sourceMappingURL=storybook-stories.js.map