@c8s/layer
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

@c8s/layer

github npm:version typescript license browserslist code style:prettier

Usage

/**
 * As to prepare of using the `Layer`
 * 
 * ```sh
 * yarn add @c8s/layer react @types/react styled-components @types/styled-components
 * ```
 */
import Layer from '@c8s/layer';

Example

() => (
  <Layer>
    <Layer.heading>H1</Layer.heading>
      <Layer>
        <Layer.heading>H2</Layer.heading>
        <Layer>
          <Layer.heading>H3</Layer.heading>
          {/* ..H3..H4.... */}
        </Layer>
      </Layer>
  </Layer>
);

Contributors

Thanks goes to these wonderful people (emoji key):



📖

Aki-Japan

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Readme

Keywords

none

Package Sidebar

Install

npm i @c8s/layer

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

28.3 kB

Total Files

47

Last publish

Collaborators

  • akijpn
  • nju33