UNPKG

wix-style-react

Version:
41 lines (33 loc) 1.25 kB
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _storySettings = require('./storySettings'); var _CalendarPanelFooter = require('../../src/CalendarPanelFooter'); var _CalendarPanelFooter2 = _interopRequireDefault(_CalendarPanelFooter); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } exports.default = { category: _storySettings.storySettings.kind, storyName: _storySettings.storySettings.storyName, component: _CalendarPanelFooter2.default, componentPath: '../../src/CalendarPanelFooter/CalendarPanelFooter.js', componentProps: { dataHook: _storySettings.storySettings.dataHook, primaryActionDisabled: false, primaryActionOnClick: function primaryActionOnClick() { return null; }, secondaryActionOnClick: function secondaryActionOnClick() { return null; }, dateToString: function dateToString(date) { return date.toLocaleDateString('en-US', _CalendarPanelFooter.defaultDateToStringOptions); }, selectedDays: { from: new Date('2019-05-27T21:00:00.000Z'), to: new Date('2019-05-27T21:00:00.000Z') }, primaryActionLabel: 'submit', secondaryActionLabel: 'cancel' } };