@real-system/box

0.0.39 • Public • Published

@real-system/box

Real System's primitive Box component.

npm version

Installation

Installation

# install peer dependencies

# npm
$ npm install --save @real-system/styled-library react react-dom
# yarn
$ yarn add @real-system/styled-library react react-dom

# install box

# npm
$ npm install --save @real-system/box
# yarn
$ yarn add @real-system/box

Code Example

import { RealSystemProvider } from '@real-system/styled-library';
import { Box } from '@real-system/box';

const MyComponent = () => {
  return (
    <RealSystemProvider>
      <Box as="aside" bgColor="white" display="flex" flexDirection="column">
        <Box display="flex">...</Box>
      </Box>
    </RealSystemProvider>
  );
};

Readme

Keywords

Package Sidebar

Install

npm i @real-system/box

Weekly Downloads

2

Version

0.0.39

License

MIT

Unpacked Size

87.3 kB

Total Files

14

Last publish

Collaborators

  • bigwoof91