@gravity-ui/uikit
Version:
Gravity UI base styling and components
13 lines (12 loc) • 538 B
TypeScript
import * as React from 'react';
import type { ControlLabelSize } from "../ControlLabel/index.js";
import type { ControlProps, DOMProps, QAProps } from "../types.js";
import "./Checkbox.css";
export type CheckboxSize = ControlLabelSize;
export interface CheckboxProps extends ControlProps, DOMProps, QAProps {
size?: CheckboxSize;
content?: React.ReactNode;
children?: React.ReactNode;
title?: string;
}
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLLabelElement>>;