We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
never
1 parent 92d3842 commit 6295d7fCopy full SHA for 6295d7f
src/components/Select/common/types.ts
@@ -40,6 +40,7 @@ export interface SelectGroupProps
40
}
41
export interface SelectOptionItem
42
extends Omit<SelectItemProps, "children" | "label" | "description"> {
43
+ heading?: never;
44
label: ReactNode;
45
description?: ReactNode;
46
[key: `data-${string}`]: string;
@@ -48,6 +49,7 @@ export interface SelectOptionItem
48
49
interface SelectGroupOptionItem
50
extends Omit<SelectGroupProps, "children" | "label" | "description"> {
51
options: Array<SelectOptionItem>;
52
+ label?: never;
53
54
55
0 commit comments