UNPKG

drizzle-cube

Version:

Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.

14 lines (13 loc) 575 B
import { default as React } from 'react'; interface DateRangeSelectorProps { timeDimension: string; availableTimeDimensions: string[]; currentDateRange?: string | string[]; onDateRangeChange: (timeDimension: string, dateRange: string | string[]) => void; onTimeDimensionChange: (oldTimeDimension: string, newTimeDimension: string) => void; onRemove: (timeDimension: string) => void; hideFieldSelector?: boolean; hideRemoveButton?: boolean; } declare const DateRangeSelector: React.FC<DateRangeSelectorProps>; export default DateRangeSelector;