Pass along variant name as prop to createVariant'ed component #213
Annotations
10 errors and 1 warning
src/hooks/useRestyle.ts#L1
Replace `·useMemo·` with `useMemo`
|
src/hooks/useRestyle.ts#L2
Replace `·StyleProp,·useWindowDimensions·` with `StyleProp,·useWindowDimensions`
|
src/hooks/useRestyle.ts#L4
Replace `·BaseTheme,·RNStyle,·Dimensions·` with `BaseTheme,·RNStyle,·Dimensions`
|
src/hooks/useRestyle.ts#L10
Replace `·[key:·string]:·unknown·` with `[key:·string]:·unknown`
|
src/hooks/useRestyle.ts#L13
Replace `·[key·in·keyof·TProps]:·boolean·` with `[key·in·keyof·TProps]:·boolean`
|
src/hooks/useRestyle.ts#L16
Replace `·variant?:·unknown·` with `variant?:·unknown`
|
src/hooks/useRestyle.ts#L30
Replace `·cleanProps,·restyleProps,·serializedRestyleProps·` with `cleanProps,·restyleProps,·serializedRestyleProps`
|
src/hooks/useRestyle.ts#L36
Replace `·[key:·string]:·any·` with `[key:·string]:·any`
|
src/hooks/useRestyle.ts#L37
Replace `·style?:·StyleProp<RNStyle>,·variant?:·string·` with `style?:·StyleProp<RNStyle>;·variant?:·string`
|
src/hooks/useRestyle.ts#L51
Replace `·[key·in·keyof·TProps]:·boolean·` with `[key·in·keyof·TProps]:·boolean`
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
This job failed
Loading