Create codemod for addressing ESLint warnings (#10032)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React from 'react'
|
||||
import {forwardRef} from 'react'
|
||||
import {type TextProps} from 'react-native'
|
||||
import Svg, {
|
||||
Defs,
|
||||
@@ -20,7 +20,7 @@ type Props = {
|
||||
style?: TextProps['style']
|
||||
} & Omit<SvgProps, 'style'>
|
||||
|
||||
export const Logo = React.forwardRef(function LogoImpl(props: Props, ref) {
|
||||
export const Logo = forwardRef(function LogoImpl(props: Props, ref) {
|
||||
const t = useTheme()
|
||||
const {fill, ...rest} = props
|
||||
const gradient = fill === 'sky'
|
||||
|
||||
Reference in New Issue
Block a user