Skip to content

Commit 45bf7ab

Browse files
committed
fix types
1 parent 0d97a95 commit 45bf7ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

starters/docs/src/ColorPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {Popover} from './Popover';
1313

1414
import './ColorPicker.css';
1515

16-
export interface ColorPickerProps extends AriaColorPickerProps {
16+
export interface ColorPickerProps extends Omit<AriaColorPickerProps, 'children'> {
1717
label?: string;
1818
children?: React.ReactNode;
1919
}

starters/tailwind/src/ColorPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const buttonStyles = tv({
1515
base: 'border-0 bg-transparent flex gap-2 items-center cursor-default rounded-xs text-sm text-gray-800 dark:text-gray-200'
1616
});
1717

18-
export interface ColorPickerProps extends AriaColorPickerProps {
18+
export interface ColorPickerProps extends Omit<AriaColorPickerProps, 'children'> {
1919
label?: string;
2020
children?: React.ReactNode;
2121
}

0 commit comments

Comments
 (0)