14 lines
204 B
Plaintext
14 lines
204 B
Plaintext
# -*- mode: snippet -*-
|
|
# name: react function component template in typescript
|
|
# key: rft
|
|
# --
|
|
import { FC } from 'react';
|
|
|
|
const $1: FC = (${2:props}) => {
|
|
return (
|
|
$0
|
|
);
|
|
};
|
|
|
|
export default $1;
|