1.0.3 • Published 5 years ago

rb-gcc-travel-atoms-controls-test v1.0.3

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

React Color Component

Installation

npm install --save @jetprivilege/gcc-hotels-travels

How To Use

First import this component where you want to use it

import {InputDate} from "@jetprivilege/gcc-hotels-travels"

Then just renders it

<InputDate />

Props

PropDescriptionDefault value
colorSets background colorblue
widthSets width100
heightSets height100
textSets inner textempty string

Example

import React, { Component } from "react";
import {InputDate} from "@jetprivilege/gcc-hotels-travels";

class App extends Component {
  render() {
    return (
        <InputDate height={150} color="red" text="Hello World!" />
    );
  }
}

export default App;