1.1.0 • Published 6 years ago

header-full-react v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

Header Full React

Installation

$ npm install --save header-full-react

Basic Usage

import FullHeader from 'header-full-react';

...
render() {
    return (
        <FullHeader
            title="lyef"
            subtitle="What is tested may never break."
            bgColor="#EBE9EB"
            textColor="#3299BB"
            font="Lobster"
            video="videos/my_video.mp4"
        />
    );
}
...

Props

  • title (string) - main title
  • subtitle (string) - subtitle
  • bgColor (string) - background color
  • bgImg (string) - image to background
  • video (string) - video to background
  • textColor (string) - texts color
  • font (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.

License

MIT License @ jhonesgoncal

1.1.0

6 years ago