Components

PropertyInEdit

<PropertyInEdit />

Constructor

# <PropertyInEdit />

Wraps input with label and optional error

View Source admin-bro/src/frontend/components/ui/property-in-edit.tsx, line 58

Examples

Standard property

With an icon

Type Definitions

object

# Props

Properties:
Name Type Attributes Description
children ReactNode

Wrapped input element

property object

Property object based on PropertyJSON

label string

Property label

name string

Unique property name - its patch.

error object <optional>

Optional error message

error string <optional>

View Source admin-bro/src/frontend/components/ui/property-in-edit.tsx, line 73