Function: useThemeValue()
function useThemeValue<T>(selector: (theme: Theme) => T): T;
Defined in: src/theme/useTheme.ts:530
Utility hook for accessing specific values from the current theme.
Type Parametersโ
Tโ
T
Parametersโ
selectorโ
(theme: Theme) => T
Function that extracts a value from the theme
Returnsโ
T
The selected value from the current theme