0
12
llucycodes42
In this code, ${1:filename} is a function that takes a single argument, which is a Props object. The function returns a div. The Props object has a single property, called first, which is a string.
Library: react
Shortcut: tsrfc
import React from 'react';
type Props = {}
export default function ${1:filename}({}: Props) {
return (
<div>first</div>
)
}