This repo is a collection of common React components written in TypeScript/TSX to be used with React clients for Gatsby.
- Install to the project
npm install --save @gatsby-tv/components - Import the components
import { Sidebar, Navbar } from "@gatsby-tv/components";
npm installnpm run buildnpm loginnpm publish
cd ~/componentsnpm linkcd ~/my-react-projectnpm link @gatsby-tv/components- Every time you make a change to this repo, make sure to run
npm run buildto update the link.
Storybook shows examples on usage and documentation of the components in this library.
npm run storybook