0
5
llucycodes42
In the above code, the ${1:filename} function takes one parameter, which is the name of the file to be rendered. The function returns a div element with the text "first".
Library: react
Shortcut: rfc
import React from 'react';
export default function ${1:filename}() {
return (
<div>first</div>
)
}