Skip to content

Commit

Permalink
change type node for jsx element in select option
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanMarcMilletScality committed Feb 23, 2024
1 parent 1ff451c commit 73c941d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/selectv2/Selectv2.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type OptionProps = {
icon?: React.ReactNode;
children?: React.ReactNode;
value: string;
disabledReason?: React.ReactNode;
disabledReason?: JSX.Element;
};
const usePreviousValue = (value) => {
const ref = useRef(null);
Expand Down

0 comments on commit 73c941d

Please sign in to comment.