<DemoItem label="Uncontrolled picker" component="DateRangePicker">
  <DateRangePicker
    defaultValue={[dayjs('2022-04-17'), dayjs('2022-04-21')]}
  />
</DemoItem>
<DemoItem label="Controlled picker" component="DateRangePicker">
  <DateRangePicker
    value={value}
    onChange={(newValue) => setValue(newValue)}
  />
</DemoItem>