# -*- mode: snippet -*- # uuid: f24b6de3-135e-4da0-81d9-0f479f3b11dd # contributor: Jimmy Yuen Ho Wong # name: reactFunctionalComponentWithPropTypes # key: rfcp # -- import React from 'react' import PropTypes from 'prop-types' function ${1:${TM_FILENAME_BASE}}(props) { return (
$0
) } ${1:${TM_FILENAME_BASE}}.propTypes = { } export default ${1:${TM_FILENAME_BASE}}