wix-style-react
Version:
15 lines (13 loc) • 354 B
JavaScript
import React from 'react';
import CalendarPanelFooter from '..';
export default () => (
<CalendarPanelFooter
primaryActionLabel="Apply"
secondaryActionLabel="Cancel"
selectedDays={{
from: new Date(Date.now() - 7 * 1000 * 60 * 60 * 24),
to: new Date(),
}}
dateToString={date => date.toLocaleDateString('en-US')}
/>
);