@cloudflare/component-heading

Cloudflare Heading Component

Stats

StarsIssuesVersionUpdatedCreatedSize
@cloudflare/component-heading
2.1.38517 days ago3 years agoMinified + gzip package size for @cloudflare/component-heading in KB

Readme

@cloudflare/component-heading

Cloudflare Heading Component

Installation

Installation with yarn is recommended


$ yarn add @cloudflare/component-heading

Usage

import React from 'react';
import { Heading, HeadingCaption } from '../../src';

const HeadingComponent = () => (
  <div>
    {[1, 2, 3, 4, 5, 6].map(size => (
      <Heading size={size} key={size}>
        Look at this nice heading!
        <HeadingCaption>It even has a nice HeadingCaption</HeadingCaption>
      </Heading>
    ))}
  </div>
);

export default HeadingComponent;

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.