1.0.0 • Published 6 years ago

vs-react-full-header v1.0.0

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

React FullHeader Component

Build Status

A Simple FullHeader Component using React and tested with Storybook

Getting Started

Installation

npm i --save vs-react-full-header

Basic Usage

import FullHeader from 'vs-react-full-header';

...
render () {
  return (
    <FullHeader
      title="Yo!"
      subtitle="Ahoy Pirate!! p)"
      bgColor="#EBE9EB"
      textColor="#3299BB"
      font="Lobster"
      video="my_video.mp4"
    />
  );
}
...

Component Props

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