UNPKG

drizzle-cube

Version:

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

17 lines (16 loc) 688 B
import { SimpleFilter } from '../../types'; import { MetaResponse } from '../../shared/types'; interface FilterConfigModalProps { /** The filter being edited */ filter: SimpleFilter; /** Schema for field metadata */ schema: MetaResponse | null; /** Callback when user saves changes */ onSave: (filter: SimpleFilter) => void; /** Callback when user cancels */ onCancel: () => void; /** Element to position the modal near */ anchorElement?: HTMLElement | null; } export default function FilterConfigModal({ filter: initialFilter, schema, onSave, onCancel, anchorElement }: FilterConfigModalProps): import("react/jsx-runtime").JSX.Element; export {};