fleet/.vscode/typescriptreact.code-snippets
Gabriel Hernandez 041920bcaf
Implement dropdown for label filters on manage hosts page (#7300)
* add label filter dropdown to the manage host page table

* increase label filter select width

* improve responsive styling for manage host page
2022-08-24 13:38:43 +01:00

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"
}
}