Hero component
A hero component
Install
npm i @wethecurious/wtc-ui-library
Usage
Import it into your project
import { Hero } from '@wethecurious/wtc-ui-library'
Prop
<Hero
label="background image"
height={40}
imageUrl="https://via.placeholder.com/150x200"
/>
Props
Prop | Description | Default |
---|---|---|
label | Label | |
height | ||
imgUrl | Img URL | |
imgPosition | Image Position | |
onClick | function |