To save time making code.
arc
import React from 'react';
const filename = ($1) => {
return (
$2
);
};
export default filename;
parc
import React from 'react';
const filename = (props) => {
return (
$1
);
};
export default filename;
rc
import React from 'react';
function filename($1) {
return (
$2
);
};
export default filename;
prc
import React from 'react';
function filename(props) {
return (
$1
);
};
export default filename;
ahan
const ${1:handlerName}Handler = ($2) => {
$3
};
eahan
const ${1:handlerName}Handler = (e) => {
$2
};
han
function ${1:handlerName}Handler = ($2) => {
$3
};
ehan
function ${1:handlerName}Handler = (e) => {
$3
};
aaf
($1) => {$2}
af
function($1) {$2}
clo
console.log($1);