@6dui/6d-input-box

1.0.1 • Public • Published

6d Input Box

Normal input box

Properties

Property Type Default Description
type String FIELD_TYPES.TEXT or '0' Defines type of field
onChange function undefined On change function is passed
value any undefined value of the field
disabled boolean false If passed true , the field will be disabled
Normal textbox

Sample code

 const [sampleText, setSampleText] = useState('')
      <TextBox
            value={sampleText}
            maxLength={10}
            placeholder="Sample Text box"
            onChange={setSampleText}
            disabled={false}
            name='sampleText'
        />
Output

Output

Readme

Keywords

none

Package Sidebar

Install

npm i @6dui/6d-input-box

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

12.1 kB

Total Files

9

Last publish

Collaborators

  • reneeshpas
  • emmanuel.mathew
  • charisma.kattanganal.salim