react-test-atoms

1.0.8 • Public • Published

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

Prop Description Default value
color Sets background color blue
width Sets width 100
height Sets height 100
text Sets inner text empty 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;

Readme

Keywords

none

Package Sidebar

Install

npm i react-test-atoms

Weekly Downloads

2

Version

1.0.8

License

ISC

Unpacked Size

1.39 MB

Total Files

8

Last publish

Collaborators

  • sarika.ambhore