0
2
llucycodes42
In this code, the code exports a function that takes one parameter, props, which is a object containing the properties of the component. The return of the function is a div element that contains the string "first".
Library: react
Shortcut: rfcp
import React from 'react';
import PropTypes from 'prop-types';
function ${1:filename}(props) {
return (
<div>first</div>
)
}
${1:filename}.propTypes = {}
export default ${1:filename}