@clicktap/ui 0.3.7 → 0.3.8

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.
@@ -1,3 +1,17 @@
1
- import { CheckboxProps } from 'react-aria-components';
2
- export declare function Checkbox({ children, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
1
+ import { CheckboxProps as UiCheckboxProps, CheckboxRenderProps } from 'react-aria-components';
2
+ import { ReactNode } from 'react';
3
+ interface CheckboxSlots {
4
+ control?: ReactNode | ((values: CheckboxRenderProps) => ReactNode);
5
+ }
6
+ export interface CheckboxProps extends UiCheckboxProps {
7
+ slots?: CheckboxSlots;
8
+ }
9
+ export declare function Checkbox({ children, slots, ...props }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare namespace Checkbox {
11
+ var defaultProps: {
12
+ slots: {
13
+ control: undefined;
14
+ };
15
+ };
16
+ }
3
17
  export default Checkbox;