Typescript React Library for a component

Whats the best way to create a Typescript React Library for a component I made and I want to share on npm?
Also will it work with Nextjs SSR ?
Was this page helpful?