@symbo.ls/react-box

2.13.15 • Public • Published

react-box

React Box

Table of Contents

Install

To install, you can use npm or yarn:

$ npm install --save @symbo.ls/react-box
$ yarn add  @symbo.ls/react-box

Usage

Box element which can be used with

Examples

import { Box } from '@symbo.ls/react'

// example 1
const buttonProps = {
  theme: 'primary',
  size: 'A',
  padding: 'B Z'
}

const Button2 = () => <Box tag="button" ...buttonProps />

// example 2
const buttonConf = {
  tag: 'button',
  props: {
    theme: 'primary',
    size: 'A',
    padding: 'B Z'
  }
}

const Button3 = () => <Box ...buttonConf />

Readme

Keywords

none

Package Sidebar

Install

npm i @symbo.ls/react-box

Weekly Downloads

60

Version

2.13.15

License

MIT

Unpacked Size

21.1 kB

Total Files

12

Last publish

Collaborators

  • julianbraha
  • lberia
  • tokoyoung
  • svinchy
  • nikoloza