@airbnb/lunar-layouts
Pre-defined page layouts for Lunar.
Last updated 4 months ago by milesj .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @airbnb/lunar-layouts 
SYNC missed versions from official npm registry.

Lunar Layouts

Provides pre-defined page layouts that support top and side navigation bars.

yarn add @airbnb/lunar-layouts

Usage

This packages provides a handful of components for common page layout scenarios, for example, three column layouts, two columns layouts, split layouts, so on and so forth.

To use, import the LayoutShell and render near the root of the application. Column based layouts may then be rendered as children of the shell.

import LayoutShell from '@airbnb/lunar-layouts';
import ThreeColumnLayout from '@airbnb/lunar-layouts/lib/components/ThreeColumnLayout';

<LayoutShell sideBar={<SideBar />}>
  <ThreeColumnLayout fluid before={<LeftColumn />} after={<RightColumn />}>
    <Content />
  </ThreeColumnLayout>
</LayoutShell>;

Current Tags

  • 3.0.2                                ...           latest (4 months ago)
  • 2.3.0-alpha.0                                ...           next (10 months ago)

40 Versions

  • 3.0.2                                ...           4 months ago
  • 3.0.1                                ...           4 months ago
  • 3.0.0                                ...           5 months ago
  • 2.8.1                                ...           5 months ago
  • 2.8.0                                ...           5 months ago
  • 2.7.3                                ...           6 months ago
  • 2.7.2                                ...           6 months ago
  • 2.7.1                                ...           8 months ago
  • 2.7.0                                ...           8 months ago
  • 2.6.0                                ...           9 months ago
  • 2.5.0                                ...           9 months ago
  • 2.4.0                                ...           9 months ago
  • 2.3.2                                ...           9 months ago
  • 2.3.1                                ...           10 months ago
  • 2.3.0                                ...           10 months ago
  • 2.3.0-alpha.1                                ...           10 months ago
  • 2.3.0-alpha.0                                ...           10 months ago
  • 2.2.7                                ...           10 months ago
  • 2.2.6                                ...           a year ago
  • 2.2.5                                ...           a year ago
  • 2.2.4                                ...           a year ago
  • 2.2.3                                ...           a year ago
  • 2.2.2                                ...           a year ago
  • 2.2.1                                ...           a year ago
  • 2.2.0                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 2.0.0-rc.0                                ...           a year ago
  • 2.0.0-alpha.1                                ...           a year ago
  • 2.0.0-alpha.0                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 1.0.0-alpha.1                                ...           a year ago
  • 1.0.0-alpha.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 40
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |