@adaptabletools/adaptable-cjs
Version:
Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
24 lines (23 loc) • 920 B
TypeScript
import * as React from 'react';
import { ReactNode, SyntheticEvent } from 'react';
import { FlexProps } from '../Flex';
type TypeProps = {
checked?: boolean | null;
disabled?: boolean;
readOnly?: boolean;
as?: any;
name?: string;
value?: any;
variant?: 'default' | 'agGrid';
onChange?: (checked: boolean, event: SyntheticEvent) => void;
children?: ReactNode;
gapDistance?: number | string;
childrenPosition?: 'start' | 'end';
};
export interface CheckBoxProps extends TypeProps, Omit<React.HTMLProps<HTMLDivElement>, keyof TypeProps | 'ref'> {
}
declare const CheckBox: ({ children, checked, onChange, value, name, disabled, readOnly, variant, gapDistance, childrenPosition, as, ...props }: CheckBoxProps) => React.JSX.Element;
export declare const CheckBoxGroup: (props: FlexProps & {
orientation: "horizontal" | "vertical";
}) => React.JSX.Element;
export { CheckBox };