Last active
April 2, 2023 08:52
-
-
Save ameetmadan/b0cb2ff56e74c81cc2576e082216c2c7 to your computer and use it in GitHub Desktop.
Create a new React.FC using Live templates for IntelliJ WebStorm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { FC } from "react"; | |
// $ComponentName$ is a variable which can be set to fileNameWithoutExtension() | |
type $ComponentName$Props = { | |
}; | |
export const $ComponentName$: FC<$ComponentName$Props> = () => { | |
return ( | |
<div>$ComponentName$</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jetbrains.com/help/webstorm/creating-and-editing-live-templates.html
jetbrains.com/help/webstorm/template-variables.html