multi-coloured-heading
v1.0.2
Published
Renders a simple multi-coloured h1 or h2 element with the provided text
Downloads
3
Readme
multi-coloured-heading
Renders a simple multi-coloured h1 or h2 element with the provided text
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