Skip to content

Commit

Permalink
Update ColorSelect.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
omesh-omg authored May 6, 2024
1 parent a8f77a2 commit c47971e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/src/ui/src/components/ColorSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import './ColorSelect.css';

interface Props {
value: PropertyColorShade;
//this property is used to pass the set of baseColorHex values it is used to check if a shade color is base-color or not by using Set.has() function
baseColorHex?: Set<string>;
label?: string;
defaultValue?: string;
Expand Down Expand Up @@ -205,4 +206,4 @@ export const ColorSelect: React.FC<Props> = ({value,baseColorHex, label, default
);

}
}
}

0 comments on commit c47971e

Please sign in to comment.