prospace-ui
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

Prospace UI

Usage

  • run npm install prospace-ui

  • add the prospace css in the root of the application

    import 'prospace-ui/dist/styles/index.css';
  • use the components

    import { Button } from 'prospace-ui';
    
    const App = () => {
      return (
        <>
          <Button>Button Content</Button>
        </>
      );
    };

Archived V1 components

  • add the prospace css and resets css (if needed) in the root of the application

    import 'prospace-ui/dist/archive/styles/index.css';
    import 'prospace-ui/dist/archive/styles/resets.css';
  • use the v1 components

    import { PrimaryButton } from 'prospace-ui/dist/archive';
    
    const App = () => {
      return (
        <>
          <PrimaryButton>Button Content</PrimaryButton>
        </>
      );
    };

BEWARE!!!

V1 components CSS resets is conflicted with the new V2 stylings. So can only choose to use one version, OR resolve the style conflict manually.

Readme

Keywords

none

Package Sidebar

Install

npm i prospace-ui

Weekly Downloads

36

Version

2.0.1

License

MIT

Unpacked Size

871 kB

Total Files

600

Last publish

Collaborators

  • fresso