diff --git a/.changeset/mean-roses-type.md b/.changeset/mean-roses-type.md new file mode 100644 index 00000000..350ceadc --- /dev/null +++ b/.changeset/mean-roses-type.md @@ -0,0 +1,6 @@ +--- +"@telegraph/combobox": patch +"@telegraph/select": patch +--- + +new select component + combobox fixes diff --git a/packages/combobox/src/Combobox/Combobox.helpers.ts b/packages/combobox/src/Combobox/Combobox.helpers.ts index 5a40c0e4..136598ce 100644 --- a/packages/combobox/src/Combobox/Combobox.helpers.ts +++ b/packages/combobox/src/Combobox/Combobox.helpers.ts @@ -1,4 +1,4 @@ -export type DefinedOption = { value: string; label?: string }; +export type DefinedOption = { value: string; label?: string | React.ReactNode }; export type Option = DefinedOption | undefined; export const isMultiSelect = ( value: Option | Array