pyxis-ui-kit
v0.3.7
Published
Pyxis UI Kit
Downloads
82
Readme
pyxis-ui-kit
Pyxis UI Kit
About
Pyxis UI Kit is a wrapper around AntDesign for React
AntDesign is listed as package dependency so we can stay up to date with lattes version.
Installation
To install the package run
yarn add pyxis-ui-kit
or
npm i pyxis-ui-kit
Usage
In your project root you need to import package css
src/App.tsx
import React from 'react';
...
import 'pyxis-ui-kit/dist/pyxis-ui-kit-global.css';
import 'pyxis-ui-kit/dist/pyxis-ui-kit.css';
...
All of the components and types are exported from root package, so for example to use Button component:
import React from 'react';
import { Button } from 'pyxis-ui-kit'
...
export const YourComponent = () => {
...
return (
<>
...
<Button type="primary">I am primary Button</Button>
...
</>
)
}