react-emmet
react-emmet copied to clipboard
Add support for React components
related: #3
It's just an initial effort to give a baseline of the described feature :)
cc.ComponentNam
class ComponentName extends React.Component {
render() {
return (
<div></div>
);
}
}
cc.ComponentName[name]
class ComponentName extends React.Component {
render() {
return (
<div></div>
);
}
}
fc.ComponentName
const ComponentName = () => {
return (
<div></div>
);
};
fc.ComponentName[firstName, lastName]
const ComponentName = ({firstName, lastName}) => {
return (
<div></div>
);
};