UNPKG

@dndbuilder.com/react

Version:

Drag and drop builder for React

15 lines (14 loc) 481 B
import { FC, HTMLAttributes } from 'react'; import { SettingsType } from '../../types'; export type SwitchControlProps = { type: SettingsType; fieldName: string; responsive?: boolean; mode?: string; label: string; onCheckedChange?: (value: boolean) => void; defaultChecked?: boolean; defaultValue?: boolean; } & HTMLAttributes<HTMLDivElement>; export declare const SwitchControl: FC<SwitchControlProps>; //# sourceMappingURL=switch.control.d.ts.map