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) 661 B
import { ChartType } from '../types'; import { ChartAvailabilityMap } from '../shared/chartDefaults'; interface ChartTypeSelectorProps { selectedType: ChartType; onTypeChange: (type: ChartType) => void; className?: string; /** Compact mode for narrow containers - uses 2 columns and constrains width */ compact?: boolean; /** Map of chart type availability - when provided, unavailable charts are disabled */ availability?: ChartAvailabilityMap; } export default function ChartTypeSelector({ selectedType, onTypeChange, className, compact, availability }: ChartTypeSelectorProps): import("react/jsx-runtime").JSX.Element; export {};