import { StudioLayouts } from '.'; import type { StudioLayoutBasePropsConfig } from './StudioBaseSchema'; export interface StudioLayoutDataConditionPickerConfig extends StudioLayoutBasePropsConfig { /** * Type of the layout component. */ type: `${StudioLayouts.panelDataConditionPicker}`; /** * Data condition component. */ component: object; /** * Callback function to be called when the picker selection is confirmed. * @examples ({ value }) => console.log('new value', value); */ onConfirm?: '__fn__'; }