Skip to content

Commit 205a638

Browse files
vineethasokCopilot
andauthored
Export SelectGroupOptionItem, SelectOptionItem for components (#677)
* export SelectGroupOptionItem type * Export SelectGroupOptionItem, SelectOptionItem for component use * Update src/components/types.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Fix lint --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 04bed41 commit 205a638

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/Select/common/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export interface SelectOptionItem
4747
[key: `data-${string}`]: string;
4848
}
4949

50-
interface SelectGroupOptionItem
50+
export interface SelectGroupOptionItem
5151
extends Omit<SelectGroupProps, "children" | "label" | "description"> {
5252
options: Array<SelectOptionItem>;
5353
label?: never;

src/components/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export type { GenericLabelProps } from "./GenericLabel/GenericLabel";
7575
export type { MultiAccordionProps } from "./MultiAccordion/MultiAccordion";
7676
export type { CheckboxVariants } from "./Checkbox/Checkbox";
7777
export type { CursorOptions } from "./cursorOptions";
78+
export type { SelectGroupOptionItem, SelectOptionItem } from "./Select/common/types";
7879

7980
export type { IconButtonProps };
8081
export type { AlertProps };

0 commit comments

Comments
 (0)