0.1.6 • Published 4 years ago

every-layout-styled-jsx v0.1.6

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

every-layout-styled-jsx

standard-readme compliant

React implementation of Every Layout with Styled JSX.

Table of Contents

Install

$ yarn add every-layout-styled-jsx

Usage

import { Switcher, Sidebar, } from 'every-layout-styled-jsx';

API

Switcher

PropTypeDescription
thresholdstringA CSS width value (representing the 'container breakpoint')
spacestringA CSS margin value
limitstringA number representing the maximum number of items permitted for a horizontal layout

Sidebar

PropTypeDescription
sideWidthstring
contentMinWidthstring
spacestring
sidebarOnRightboolean

Maintainers

@eliaaos

Contributing

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2020 Elias Lindblad