@c8s/layer

[![github](https://badgen.net/badge//nju33,c8s/000?icon=github&list=1)](https://github.com/nju33/c8s/tree/master/components/layer) [![npm:version](https://badgen.net/npm/v/@c8s/layer?icon=npm&label=)](https://www.npmjs.com/package/@c8s/layer) [![typescrip

Usage no npm install needed!

<script type="module">
  import c8sLayer from 'https://cdn.skypack.dev/@c8s/layer';
</script>

README

@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!