@campgladiator/components
A component library for CampGladiator's React apps. Depends on @campgladiator/ui
.
$ yarn add @campgladiator/ui @campgladiator/components
Usage
This component library is meant to be tree-shakeable, therefore you need to import each component individually:
import { render } from 'react-dom'
import Button from '@campgladiator/components/build/Button'
render(
<Button solid primary>cool, it works</Button>,
document.getElementById('app')
)