0
1
llucycodes42
In the code, the ${1:filename} variable is defined as a Props object. This object contains the property filename which is assigned the value "first".
The code above defines a function which takes a Props object as an input and returns a <div> element. The <div> element will display the string "first".
Library: react
Shortcut: tsrafce
import React from 'react';
type Props = {}
const ${1:filename} = (props: Props) => {
return (
<div>first</div>
)
}
export default ${1:filename}