2.0.1 • Published 2 days ago

prospace-ui v2.0.1

Weekly downloads
2
License
MIT
Repository
-
Last release
2 days ago

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.