Ultra Actions
Ultra Actions are commonly used in Table Columns and Form Toolbars, and can also be rendered independently using <component />.
It returns a Function Component, which renders components based on the passed parameters.
Item Props
| Name | Type | Default | Description |
|---|---|---|---|
| render | `string | (...args) => string | VNodeChild` | - |
| helper | (...args) => void | Promise<void> | - | Handles click events, if returns a promise will automatically enable loading |
| enable | (...args) => void | Promise<void> | - | Whether to enable the control, returns false will not render the control |
| custom | (...args) => VNodeChild | - | Custom rendering |
For more parameters, please refer to n-button.