@kroo-web/design-system 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,3 +9,15 @@ export type TCheckboxProps<T extends FieldValues> = {
9
9
  variant?: 'checkbox' | 'radio';
10
10
  };
11
11
  export declare const Checkbox: <T extends FieldValues>(props: TCheckboxProps<T>) => React.JSX.Element;
12
+ export type TNativeCheckboxProps = {
13
+ disabled?: boolean;
14
+ error?: {
15
+ message: string;
16
+ };
17
+ helper?: {
18
+ message: string;
19
+ };
20
+ id: string;
21
+ label: ReactNode | string;
22
+ } & React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
23
+ export declare const NativeCheckbox: React.ForwardRefExoticComponent<Omit<TNativeCheckboxProps, "ref"> & React.RefAttributes<HTMLInputElement>>;