@dndbuilder.com/react
Version:
Drag and drop builder for React
23 lines (22 loc) • 895 B
TypeScript
import { SettingsType } from '../../types';
import { VariantProps } from 'class-variance-authority';
import { FC, HTMLAttributes, InputHTMLAttributes, LabelHTMLAttributes } from 'react';
declare const controlVariants: (props?: ({
direction?: "row" | "col" | null | undefined;
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
export type InputControlProps = {
label?: string;
type: SettingsType;
fieldName: string;
mode?: string;
responsive?: boolean;
isLocalized?: boolean;
placeholder?: string;
inputProps?: InputHTMLAttributes<HTMLInputElement>;
labelProps?: LabelHTMLAttributes<HTMLLabelElement>;
min?: number;
max?: number;
} & HTMLAttributes<HTMLDivElement> & VariantProps<typeof controlVariants>;
export declare const InputControl: FC<InputControlProps>;
export {};
//# sourceMappingURL=input.control.d.ts.map