multi-coloured-heading

Renders a simple multi-coloured h1 or h2 element with the provided text

Usage no npm install needed!

<script type="module">
  import multiColouredHeading from 'https://cdn.skypack.dev/multi-coloured-heading';
</script>

README

multi-coloured-heading

Renders a simple multi-coloured h1 or h2 element with the provided text

NPM

Install

npm install --save multi-coloured-heading

Usage

import React from 'react'

import { MultiColouredHeadingOne, MultiColouredHeadingTwo } from 'multi-coloured-heading'

const Example = () => {
    return (
      <>
        <MultiColouredHeadingOne text="This is a title" />
        <MultiColouredHeadingTwo text="This is a subtitle" />
      </>
    )
}

License

MIT © charlesdobson