nexpi-ui
Version:
An elegant and minimalist Next.js 14 component library
10 lines (9 loc) • 324 B
TypeScript
import React from 'react';
interface CheckboxProps {
label?: string;
checked?: boolean;
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
style?: React.CSSProperties;
}
declare const Checkbox: ({ label, checked, onChange, style }: CheckboxProps) => React.JSX.Element;
export default Checkbox;