23 lines
405 B
Plaintext
23 lines
405 B
Plaintext
# -*- mode: snippet -*-
|
|
# uuid: a85f3fea-065d-499b-a297-b6e3f516c2d7
|
|
# contributor: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
|
|
# name: reactArrowFunctionComponentWithPropTypes
|
|
# key: rafcp
|
|
# --
|
|
|
|
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
|
|
const ${1:`(yas-jsx-get-class-name-by-file-name)`} = (props) => {
|
|
return (
|
|
<div>
|
|
$0
|
|
</div>
|
|
)
|
|
}
|
|
|
|
$1.propTypes = {
|
|
|
|
}
|
|
|
|
export default $1 |