Componente de función de flecha React atajo VScode
import React from 'react'
const $1 = () => {
return <div>$0</div>
}
export default $1
Philan ISithembiso
import React from 'react'
const $1 = () => {
return <div>$0</div>
}
export default $1
react-arrow
import React from 'react'
import { View, Text } from 'react-native'
export default function $1() {
return (
<View>
<Text> $2 </Text>
</View>
)
}
import React, { PureComponent } from 'react'
export default class FileName extends PureComponent {
render() {
return <div>$2</div>
}
}
import React, { Component } from 'react'
export class FileName extends Component {
render() {
return <div>$2</div>
}
}
export default $1
import React, { Component } from 'react'
export default class FileName extends Component {
render() {
return <div>$2</div>
}
}