Skip to content

Commit

Permalink
fix(Select): change type of Option label to string
Browse files Browse the repository at this point in the history
  • Loading branch information
DSil committed May 31, 2023
1 parent 143abec commit dc18bed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/orbit-components/src/Select/types.d.ts
Expand Up @@ -11,7 +11,7 @@ type Event = Common.Event<React.SyntheticEvent<HTMLSelectElement>>;
interface Option {
readonly key?: string;
readonly value: string | number;
readonly label?: React.ReactNode;
readonly label?: string;
readonly disabled?: boolean;
}

Expand Down

0 comments on commit dc18bed

Please sign in to comment.