vscode shortcut to create class component code example
Example: arrow function component react shortcut vscode
import React, { Component } from 'react'
export default class FileName extends Component {
render() {
return <div>$2</div>
}
}
import React, { Component } from 'react'
export default class FileName extends Component {
render() {
return <div>$2</div>
}
}