1.0.5 • Published 3 years ago
bs-atoms-test v1.0.5
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;