-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
good first issueGood for newcomersGood for newcomers⭐ goal: additionAddition of new featureAddition of new feature🏁 status: ready for devReady for workReady for work🟨 priority: mediumNot blocking but should be fixed soonNot blocking but should be fixed soon
Description
Description
I would like to add support for Next JS TypeScript components. There is a built in type called NextComponentType that can be used with Next JS components, and I would like to add a snippet for that. The snippet would look like:
import type { NextComponentType, NextPageContext } from "next";
interface Props {}
const Component: NextComponentType<NextPageContext, {}, Props> = (props: Props) => {
return (
<div></div>
)
}
export default ComponentScreenshots
No response
Additional information
The shortcut name for the snippet would be "nextct"
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers⭐ goal: additionAddition of new featureAddition of new feature🏁 status: ready for devReady for workReady for work🟨 priority: mediumNot blocking but should be fixed soonNot blocking but should be fixed soon