@cronocode/react-box 3.0.20 → 3.0.21
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.
- package/box.d.ts +1 -1
- package/components/dropdown.d.ts +1 -1
- package/package.json +1 -1
package/box.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ interface Props<TTag extends keyof React.JSX.IntrinsicElements, TKey extends key
|
|
|
18
18
|
style?: React.ComponentProps<TTag>['style'];
|
|
19
19
|
id?: string;
|
|
20
20
|
}
|
|
21
|
-
interface BoxType
|
|
21
|
+
interface BoxType {
|
|
22
22
|
<TTag extends keyof React.JSX.IntrinsicElements = 'div', TKey extends keyof ComponentsAndVariants = never>(props: Props<TTag, TKey> & RefAttributes<ExtractElementFromTag<TTag>>): React.ReactNode;
|
|
23
23
|
extend: typeof BoxExtends.extend;
|
|
24
24
|
components: typeof BoxExtends.components;
|
package/components/dropdown.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ interface DropdownItemProps<TVal> extends BoxProps {
|
|
|
17
17
|
interface DropdownDisplayProps<TVal> extends Omit<BoxProps, 'children'> {
|
|
18
18
|
children: ((selectedValues: TVal[], isOpen: boolean) => React.ReactNode) | React.ReactNode;
|
|
19
19
|
}
|
|
20
|
-
interface DropdownType
|
|
20
|
+
interface DropdownType {
|
|
21
21
|
<TVal>(props: Props<TVal> & RefAttributes<HTMLInputElement>): React.ReactNode;
|
|
22
22
|
Item: <TVal>(props: DropdownItemProps<TVal>) => React.ReactNode;
|
|
23
23
|
Unselect: (props: BoxProps) => React.ReactNode;
|