Skip to content

Pass along variant name as prop to createVariant'ed component #214

Pass along variant name as prop to createVariant'ed component

Pass along variant name as prop to createVariant'ed component #214

Triggered via pull request June 5, 2024 12:14
Status Failure
Total duration 4m 6s
Artifacts

restyle.yml

on: pull_request
Build Typescript
25s
Build Typescript
Build fixture Typescript
1m 17s
Build fixture Typescript
Lint Typescript
25s
Lint Typescript
Test Typescript
27s
Test Typescript
Build Android
3m 57s
Build Android
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
Lint Typescript: src/hooks/useRestyle.ts#L1
Replace `·useMemo·` with `useMemo`
Lint Typescript: src/hooks/useRestyle.ts#L2
Replace `·StyleProp,·useWindowDimensions·` with `StyleProp,·useWindowDimensions`
Lint Typescript: src/hooks/useRestyle.ts#L4
Replace `·BaseTheme,·RNStyle,·Dimensions·` with `BaseTheme,·RNStyle,·Dimensions`
Lint Typescript: src/hooks/useRestyle.ts#L10
Replace `·[key:·string]:·unknown·` with `[key:·string]:·unknown`
Lint Typescript: src/hooks/useRestyle.ts#L13
Replace `·[key·in·keyof·TProps]:·boolean·` with `[key·in·keyof·TProps]:·boolean`
Lint Typescript: src/hooks/useRestyle.ts#L16
Replace `·variant?:·unknown·` with `variant?:·unknown`
Lint Typescript: src/hooks/useRestyle.ts#L30
Replace `·cleanProps,·restyleProps,·serializedRestyleProps·` with `cleanProps,·restyleProps,·serializedRestyleProps`
Lint Typescript: src/hooks/useRestyle.ts#L36
Replace `·[key:·string]:·any·` with `[key:·string]:·any`
Lint Typescript: src/hooks/useRestyle.ts#L37
Replace `·style?:·StyleProp<RNStyle>·` with `style?:·StyleProp<RNStyle>`
Lint Typescript: src/hooks/useRestyle.ts#L51
Replace `·[key·in·keyof·TProps]:·boolean·` with `[key·in·keyof·TProps]:·boolean`
Build Typescript
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/.
Lint Typescript
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/.
Test Typescript
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/.
Build fixture Typescript
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/.
Build Android
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/.