Documents / @faasjs/ant-design / FormItem
Function: FormItem()
FormItem<
T
>(props
):Element
FormItem
- Based on Ant Design Form.Item.
- Can be used without Form.
Type Parameters
• T = any
Parameters
• props: FormItemProps
<T
>
Returns
Element
Example
// use inline type
<FormItem type='string' id='name' />
// use custom type
<FormItem id='password'>
<Input.Password />
</>