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

2.0.4 • 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.

/prospace-ui/

    Package Sidebar

    Install

    npm i prospace-ui

    Weekly Downloads

    24

    Version

    2.0.4

    License

    MIT

    Unpacked Size

    896 kB

    Total Files

    604

    Last publish

    Collaborators

    • fresso