File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/ui-components/src/components Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export const ComboBoxOption: React.FC<ComboBoxOptionProps> = ({
53
53
children,
54
54
disabled = false ,
55
55
value = "" ,
56
- label,
56
+ label = "" ,
57
57
className = "" ,
58
58
...props
59
59
} ) => {
Original file line number Diff line number Diff line change @@ -143,13 +143,15 @@ export const StyleProvider = ({
143
143
144
144
type StyleProviderStylesWrapper = "head" | "inline" | "shadowRoot"
145
145
146
+ // NOTE for theme prop: Improve the type and logic to contain only valid themes
147
+
146
148
export interface StyleProviderProps {
147
149
/** The children to render. */
148
150
children ?: ReactNode
149
151
/** What element to render as a wrapper, respectively where to render the StyleProvider. */
150
152
stylesWrapper ?: StyleProviderStylesWrapper
151
153
/** The name of the theme to render. */
152
- theme ?: "theme-dark" | "theme-light"
154
+ theme ?: string
153
155
/** The mode of the shadowRoot. Only relevant when `stylesWrapper="shadowRoot"`. */
154
156
shadowRootMode ?: ShadowRootMode
155
157
}
You can’t perform that action at this time.
0 commit comments