Yet another user interface components library. Weird. Slow. Our own.
yarn add @qiwi/pijma-core @qiwi/pijma-desktop
import React from 'react'
import {
cache,
CacheProvider,
ThemeProvider,
Global,
themes,
fonts,
reset,
} from '@qiwi/pijma-core'
import { Button } from '@qiwi/pijma-desktop'
const App: React.FC = () => {
return (
<CacheProvider value={cache}>
<ThemeProvider theme={themes.orange}>
<Global styles={[reset, fonts]}/>
<Button type='submit' kind='brand' size='accent' text='Button'/>
</ThemeProvider>
</CacheProvider>
)
}
export default App
Cmd | |
---|---|
Install | yarn i && yarn bootstrap |
Preview | yarn watch |
Build | yarn build |
Test | yarn test |
- production
- development (default)
NODE_ENV=production yarn build