0.0.2 • Published 2 years ago
@butterwith/hero-header v0.0.2
@butterwith/hero-header
A full-screen hero banner inspired by the title cards from Netflix's We are the Champions.
Built using React and styled-components
Installation
> yarn add --dev @butterwith/hero-header
Usage
import HeroHeader from '@butterwith/hero-header';
render() {
return (<HeroHeader img={path_to_img}
title={"My Title}
subtitle={"Subtitle text"} // optional subtitle
color={"red"}
/>)
}