This repository, ds-sample
is a sample project of an extremely basic button component. This project uses the following tech stack (with no opinion, whatsoever)
- Next.js
- Emotion
- React
- Typescript
git clone https://github.com/tarang9211/ds-sample.git
yarn
yarn dev
Navigate to localhost:3000 in your browser
Assuming the component will be imported from within the pages
directory, one can import it in the following way
import { Button } from '../design-system/button
<Button type="primary" bgColor="purple">
Button
</Button>