We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I myself want to use function instead of const, but there isn't any snippets to do so (atleast in the tsx version)
function
const
tsx
The text was updated successfully, but these errors were encountered:
I can see that feel free to propose some, if the snippets make sense I’ll add them
Sorry, something went wrong.
scompf
function ${1:${TM_FILENAME_BASE}}() { return ( <div>${1:${TM_FILENAME_BASE}}</div> ); } export default ${1:${TM_FILENAME_BASE}};
scompif
import { Component } from "solid-js"; function ${1:${TM_FILENAME_BASE}}(props): Component<{$2}> { $0 return <div></div>; }; export default ${1:${TM_FILENAME_BASE}};
I don't think function foo(props): Component<{}> is a valid component. But I like the f suffix.
function foo(props): Component<{}>
f
It is, in typescript (and thus tsx)
No branches or pull requests
I myself want to use
function
instead ofconst
, but there isn't any snippets to do so (atleast in thetsx
version)The text was updated successfully, but these errors were encountered: