import React from 'react';
import { DatePicker } from './react';
export default {
    title: 'Forms/Datepicker',
    render(args) {
        return (React.createElement("div", { style: { minHeight: '400px' } },
            React.createElement(DatePicker, { ...args })));
    },
    component: DatePicker,
};
export const Default = {
    args: {
        label: 'Dato',
        lang: 'nb',
    },
};
export const DisableCalendarDates = {
    args: {
        label: 'Dato',
        lang: 'nb',
    },
    render(args) {
        return (React.createElement("div", { style: { minHeight: '400px' } },
            React.createElement(DatePicker, { ...args, isDayDisabled: (day) => day.getDay() === 0 })));
    },
};
