Skip to content

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

NameTypeDefaultDescription
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.

Released under the MIT License.