componente · @solu30/ui-kit/display
AttributeEditor
El componente, montado
Cargando el componente del paquete instalado…
Cargando el chunk del paquete instalado…
De dónde se importa
import { AttributeEditor } from '@solu30/ui-kit/display'Props
| Prop | Requerida | Tipo | Qué hace |
|---|---|---|---|
| attributes | sí | AttributeOption[] | — |
| onChange | sí | (next: AttributeOption[]) => Promise<void> | — |
| duplicateAttrError | opcional | string | Error message shown when a duplicate attribute is added (default: "Ese atributo ya existe") |
| newAttrPlaceholder | opcional | string | Placeholder for the new attribute name input |