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 334dd89 commit d3bd20aCopy full SHA for d3bd20a
src/components/hoc/styled.tsx
@@ -40,6 +40,8 @@ type Styler<Props> =
40
* const Dynamic = styled(Text)(theme => props => ({ color: props.color ?? theme.color }))
41
* const DynamicSansTheme = styled(Text)(_theme => props => ({ color: props.color }))
42
* ```
43
+ *
44
+ * @deprecated Use cacheStyles from src/components/services/ThemeContext.ts
45
*/
46
export function styled<BaseProps extends StyleProps>(
47
Component: React.ComponentType<BaseProps>
0 commit comments