@qiwi/pijma-desktop-extra
v0.2.26
Published
Pijma desktop extra UI components.
Downloads
58
Readme
@qiwi/pijma-desktop-extra
Pijma desktop extra UI components.
Install
npm i --save @qiwi/pijma-desktop-extra
yarn add @qiwi/pijma-desktop-extra
Usage
import React from 'react'
import { cache, themes, fonts, reset, CacheProvider, ThemeProvider, Global } from '@qiwi/pijma-desktop'
import { Table } from '@qiwi/pijma-desktop-extra'
export const App = () => (
<CacheProvider value={cache}>
<ThemeProvider theme={themes.orange}>
<Global styles={[reset, fonts]}/>
<Table
columns={columns}
data={data}
onSelect={onSelect}
/>
</ThemeProvider>
</CacheProvider>
)