UNPKG

@dndbuilder.com/react

Version:

Drag and drop builder for React

24 lines (23 loc) 955 B
import { SettingsType } from '../../types'; import { VariantProps } from 'class-variance-authority'; import { HTMLAttributes, ReactNode } from 'react'; declare const controlVariants: (props?: ({ direction?: "row" | "col" | null | undefined; } & import('class-variance-authority/types').ClassProp) | undefined) => string; interface ControlType { tooltipContent: React.ReactNode; toggleTrigger: React.ReactNode; value: string; } export interface ToggleGroupControlProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof controlVariants> { controls: ControlType[]; label?: ReactNode; type: SettingsType; fieldName: string; mode?: string; responsive?: boolean; defaultValue?: string; } export declare const ToggleGroupControl: import('react').ForwardRefExoticComponent<ToggleGroupControlProps & import('react').RefAttributes<HTMLDivElement>>; export {}; //# sourceMappingURL=toggle-group.control.d.ts.map