bluesky_atoms
v1.0.0
Published
Installation
Downloads
4
Readme
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
| Prop | Description | Default value | | ------ | :-------------------: | :-------------: | |readOnly| Sets readonly | | | value | Sets 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;