0.1.2 • Published 4 years ago

@-ui/react-layout v0.1.2

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

Awesome layout primitives for React and dash-ui

Quick Start

import _ from '@-ui/react-layout'

API

Components

ComponentDescription
LayoutProviderA context provider which is only required if you intend on using media query props or a custom styles object created by @-ui/react using styles.create()
Cluster
Column
FlexItem
Box
Grid
GridItem
Layer
LayerItem
Row

Hooks

ComponentDescription
useLayoutConsumes the context from LayoutProvider

Styles

These are useful objects for using quick flex styles in media query props

ComponentDescription
alignContent
alignItems
alignSelf
flexDirection
justifyContent
justifyItems
justifySelf

Components

<LayoutProvider>

PropTypeDefaultRequired?Description

Hooks

useLayout()

Consumes the context from LayoutProvider

Styles

alignItems

An object containing a property map for align-items styles

LICENSE

MIT