@navinc/base-react-components
Version:
Nav's Pattern Library
16 lines • 974 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import readme from './readme.md';
import Card from './';
storiesOf('__ | Deprecated', module).add('Card', () => {
const onBack = 'function()';
const onDismiss = 'function()';
const onNext = 'function()';
const onToggleKebab = 'function()';
const onUndo = 'function()';
return (_jsx(Card, Object.assign({ buttonLabel: "Click this", cardLabel: "Some cool label", title: "Really fantastic title", kebabMenuItems: [{ label: 'hide', icon: 'foo' }], onBack: onBack && action(onBack), onDismiss: onDismiss && action(onDismiss), onNext: onNext && action(onNext), onToggleKebab: onToggleKebab && action(onToggleKebab), onUndo: onUndo && action(onUndo), buttonDisabled: false, buttonForm: "" }, { children: "Body content goes here!" })));
}, {
readme: { content: readme },
});
//# sourceMappingURL=story.js.map