export const Default = () => {
const [value, setValue] = React.useState<PlageDeDates>({ debut: new Date(2026, 9, 14), fin: new Date(2026, 9, 22) });
return (
<Box gap="1W">
<DateRangeInput value={value} onApply={setValue} onCancel={() => undefined} />
<Typography>{`${format(value.debut, 'dd/MM/yyyy')} – ${format(value.fin, 'dd/MM/yyyy')}`}</Typography>
</Box>
);
};