drizzle-cube
Version:
Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.
16 lines (15 loc) • 546 B
TypeScript
import { default as React } from 'react';
import { AnalysisType } from '../../types';
interface AnalysisTypeSelectorProps {
/** Currently selected analysis type */
value: AnalysisType;
/** Called when analysis type changes */
onChange: (type: AnalysisType) => void;
/** Disable the selector */
disabled?: boolean;
}
/**
* AnalysisTypeSelector - Horizontal tabs for analysis type selection
*/
declare const AnalysisTypeSelector: React.NamedExoticComponent<AnalysisTypeSelectorProps>;
export default AnalysisTypeSelector;