PlayGame's UI kit based on modular components
npm install pxg-rocket-reactRocket is a vehicle leading to the moon.
How to use this library? Just plug and play, as simple as that.
``bash
- ComponentName
- ComponentName.tsx
- ComponentName.stories.tsx
- ComponentName.test.tsx
- ContainerName
- ContainerName.tsx
- ContainerName.stories.tsx
- ContainerName.test.tsx
`
- ButtonCompetitionA
- Input
- InputChat
- Modal
- Navigation
- Text
- DetailPageNavigation
- MainNavigation
- SearchNavigation
-
- React
- Typescript
- Styled Components
- Jest
- Storybook
`bash`
npm install pxg-rocket-react
`javascript
import { Button } from 'pxg-rocket-react'
import { ThemeProvider } from 'pxg-rocket-react/libs/styled-components'
// Wrap app with ThemeProvider
// Use in JSX
`
`bash`
yarn
yarn storybook
`bash``
yarn
yarn test