const e = `
const [dateRange, setDateRange] = React.useState<DateRange | undefined>();

<DataTable
  toolbar={{
    title: 'Table with Date Picker',
    subtitle: 'This is a table with a date range picker in the action bar',
  }}
  tableHeight={500}
  dataSource={getMockData(10)}
  columns={columns}
  rowKey="id"
  datePicker={{
    enabled: true,
    placeholder: 'Select date range',
    format: 'dd/MM/yyyy',
    value: dateRange,
    onChange: range => {
      setDateRange(range);
      console.log('Date range changed:', range);
    },
  }}
/>;
`;
export {
  e as default
};
//# sourceMappingURL=datePickerSource.js.map
