function component react with const shortcut in vscode code example
Example 1: arrow function component react shortcut vscode
import React from 'react'
import { View, Text } from 'react-native'
export default function $1() {
return (
$2
)
}
Example 2: arrow function component react shortcut vscode
import React from 'react'
const $1 = () => {
return $0
}
export default $1