FormField

This is a generic field used to layout forms. Typically used in conjunction with <Label> to show a field with a label

Installation

import { FormField } from 'uxp/components';

Signature

const FormField: React.FunctionComponent<IFormFieldProps>

Examples

<FormField inline>
      <Label>Button (active)</Label>
      <Button
          title="Sample Button"
          onClick={() => alert("clicked")}
          icon="https://static.iviva.com/images/Adani_UXP/QR_badge_icon.svg"
          active
      />
  </FormField>
TODO: More Examples

Properties

Name
Type
Mandatory
Default Value
Example Value

inline

boolean

No

-

-

className

string

No

-

-

backgroundColor

string

No

-

-

spacingMode

No

-

-

children

React.ReactNode

No

-

-

Last updated