pocko-ui
Version:
React components using pure Bootstrap 5+ which does not contain any external style and script libraries.
22 lines (21 loc) • 796 B
TypeScript
import React from "react";
import "./Index.scss";
interface CheckboxProps {
contentRef?: React.ForwardedRef<any>;
wrapperClassName?: string;
formCheckClassName?: string;
controlClassName?: string;
itemSelectedClassName?: string;
value: string | boolean;
label?: React.ReactNode | string;
/** input */
id?: string | number | any;
name?: string;
checked?: boolean;
disabled?: any;
style?: React.CSSProperties;
/** Function */
onChange?: (arg_1: any, arg_2: any) => void;
}
export default function Checkbox({ contentRef, wrapperClassName, formCheckClassName, controlClassName, itemSelectedClassName, value, label, name, checked, disabled, id, style, onChange, ...attributes }: CheckboxProps): JSX.Element;
export {};