@cori-risi/cori.data.api / Input

Input()

Input(props): Element

Defined in: lib/@cori-risi/components/basic.tsx:31

This comment supports Markdown

<Input checked={served}
       onChange={() => checkServed(!served)}
       type="checkbox" />

Parameters

props

checked?

boolean

children?

ReactElement<any, any> | ReactElement<any, any>[]

id?

string

max?

number

min?

number

name?

string

onChange?

ChangeEventHandler<HTMLInputElement>

type

string

value?

string | number

Returns

Element