pxt-core
Version:
Microsoft MakeCode provides Blocks / JavaScript / Python tools and editors
11 lines (10 loc) • 319 B
TypeScript
/// <reference types="react" />
import { ControlProps } from "../util";
interface CheckboxProps extends ControlProps {
id: string;
isChecked: boolean;
onChange: (newValue: boolean) => void;
label?: string | JSX.Element;
}
export declare const Checkbox: (props: CheckboxProps) => JSX.Element;
export {};