1.0.2 • Published 4 years ago

multi-coloured-heading v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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