Skip to main content

Form

img

Usage

import React from 'react'
import { Form, TextInput, Button } from 'qdm-component-library'

function App() {
return (
<Form>
<TextInput
value={name}
// labelWidth={120}
onChangeClear={(value) => setName(value)}
allowClear={true}
label={'Input Name'}
onChange={(evt) => {
funt(evt)
}}
variant={'outlined'}
/>
<Button type="submit">submit</Button>
</Form>
)
}
export default App

Reference

Props

children

props for providing children for Form Component React Node

inLineStyles

props give addition props to the Form Component type Object