1.0.2 • Published 6 years ago
reuwsaat-react-full-header v1.0.2
React Full Header
Udemy course: https://www.udemy.com/js-com-tdd-na-pratica
A header component with video support for React.
Demo
Installation
$ npm install --save reuwsaat-react-full-header
Basic Usage
import FullHeader from 'reuwsaat-react-full-header';
...
render() {
return (
<FullHeader
title="FullHeader component"
subtitle="a header component with video support"
bgColor="#bbb"
textColor="#d5fd07"
font="Helvetica"
video="http://mazwai.com/system/posts/videos/000/000/161/original/leonard_soosay--missfit.mp4?1424004876"
/>
);
}
...
Props
title
(string) - main titlesubtitle
(string) - subtitlebgColor
(string) - background colorbgImg
(string) - image to backgroundvideo
(string) - video to backgroundtextColor
(string) - texts colorfont
(string) - font-family to texts
Architecture
We've developed this component using the following boilerplate: lyef-react-component.
If you want to contribute with this component: Contributing Documentation.