Skip to content

thetextilecode/thetextilecode.com

Repository files navigation

thetextilecode.com

Netlify Status

Note: Typings are not yet fully implemented.

Installation

yarn

Build & Run

yarn build yarn start

Development

yarn dev

Please do not modify the next-env.d.ts file. It ensures Next.js types are picked up by the TypeScript compiler. If you need to add an interface please add it to types.d.ts.

Other Commands

Lint: yarn lint

Sass: yarn sass

Components

Tooltippy

Pass a tooltip from within your MDX file using React Bootstrap's Tooltip, and a custom wrapper for it:

import Tooltippy from "./Tooltippy";

## Hello
An <Tooltippy tooltipText={`Free as in free speech, not free beer.`} triggerText={`inline`}/> tooltip.