@firecms/ui
Version:
Awesome Firebase/Firestore-based headless open-source CMS
13 lines (12 loc) • 495 B
TypeScript
import React from "react";
export interface CheckboxProps {
checked: boolean;
id?: string;
disabled?: boolean;
indeterminate?: boolean;
onCheckedChange?: (checked: boolean) => void;
padding?: boolean;
size?: "smallest" | "small" | "medium" | "large";
color?: "primary" | "secondary";
}
export declare const Checkbox: React.MemoExoticComponent<({ id, checked, indeterminate, padding, disabled, size, onCheckedChange, color }: CheckboxProps) => React.JSX.Element>;