1.0.5 • Published 2 years ago

bs-atoms-test v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

React Input Text Component

Installation

npm install --save vt-atoms-one

How To Use

First import this component where you want to use it

import { InputText } from "vt-atoms-one"

Then just renders it

<InputText />

Props

PropDescriptionDefault value
readOnlySets readonly
valueSets value

Example

import React, { Component } from "react";
import { InputText } from "vt-atoms-one";

class App extends Component {
  render() {
    return (
        <InputText type='text' id='txtSearch'
            readOnly
            parentClassName='vt-mobile-search-input'
            value={'A'}
            onClick={() => { }}
        />
    );
  }
}

export default App;