every-layout-styled-jsx
v0.1.6
Published
[](https://github.com/RichardLitt/standard-readme)
Downloads
15
Readme
every-layout-styled-jsx
React implementation of Every Layout with Styled JSX.
Table of Contents
Install
$ yarn add every-layout-styled-jsxUsage
import { Switcher, Sidebar, } from 'every-layout-styled-jsx';API
Switcher
| Prop | Type | Description |
|------------------|--------| ----------------------------------------------------------------------------------- |
| threshold | string | A CSS width value (representing the 'container breakpoint') |
| space | string | A CSS margin value |
| limit | string | A number representing the maximum number of items permitted for a horizontal layout |
Sidebar
| Prop | Type | Description |
|-------------------|-------- | ----------------------------------------------------------------------------------- |
| sideWidth | string | |
| contentMinWidth | string | |
| space | string | |
| sidebarOnRight | boolean | |
Maintainers
Contributing
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
License
MIT © 2020 Elias Lindblad
