mirror of
https://github.com/empayre/fleet.git
synced 2024-11-08 01:38:57 +00:00
20 lines
459 B
Plaintext
20 lines
459 B
Plaintext
|
{
|
||
|
"Fleet - React stateless component with TS": {
|
||
|
"scope": "typescriptreact",
|
||
|
"prefix": "rtsc",
|
||
|
"body": [
|
||
|
"import React from \"react\";",
|
||
|
"",
|
||
|
"interface I${TM_FILENAME_BASE}Props {}",
|
||
|
"",
|
||
|
"const $TM_FILENAME_BASE = ({}: I${TM_FILENAME_BASE}Props) => {",
|
||
|
" return <></>;",
|
||
|
"};",
|
||
|
"",
|
||
|
"export default $TM_FILENAME_BASE;",
|
||
|
"",
|
||
|
],
|
||
|
"description": "Creates a React stateless component with the typescrip interface setup"
|
||
|
}
|
||
|
}
|