We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52e38ce commit b8bf2bfCopy full SHA for b8bf2bf
packages/react/src/types/props/selector/index.ts
@@ -15,8 +15,8 @@ type PascalCase<S extends string> = Capitalize<CamelCase<S>>
15
16
export type SelectorProps<T = DevupProps> = ResponsiveValue<T | string | false>
17
export type DevupThemeSelectorProps = keyof DevupTheme extends undefined
18
- ? Record<`_theme${string}`, SelectorProps>
19
- : Record<`_theme${PascalCase<keyof DevupTheme>}`, SelectorProps>
+ ? Partial<Record<`_theme${string}`, SelectorProps>>
+ : Partial<Record<`_theme${PascalCase<keyof DevupTheme>}`, SelectorProps>>
20
21
type NormalSelector = Exclude<
22
Pseudos,
0 commit comments