@qiwi/pijma-desktop
TypeScript icon, indicating that this package has built-in type declarations

1.163.3 • Public • Published

@qiwi/pijma-desktop

Pijma desktop UI components.

Demo

Install

npm i --save @qiwi/pijma-desktop
yarn add @qiwi/pijma-desktop

Usage

import React from 'react'
import {cache, themes, fonts, reset, CacheProvider, ThemeProvider, Global, Button, TextField} from '@qiwi/pijma-desktop'

export const App = () => (
  <CacheProvider value={cache}>
    <ThemeProvider theme={themes.orange}>
      <Global styles={[reset, fonts]}/>
      <Button type="submit" kind="brand" size="accent" text="Button"/>
      <TextField type="tel" name="phone" placeholder="+7 (987) 564-32-10"/>
      <TextField name="phone" mask={['(', /\d/, /\d/, /\d/, ')', /\d/, /\d/, /\d/, '-', /\d/, /\d/, '-', /\d/, /\d/]}/>
    </ThemeProvider>
  </CacheProvider>
)

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @qiwi/pijma-desktop

Weekly Downloads

127

Version

1.163.3

License

MIT

Unpacked Size

577 kB

Total Files

401

Last publish

Collaborators

  • antongolub
  • qiwibot