Skip to main content

ICustomAction

@spartanfx/react v1.2.2


@spartanfx/react / index / ICustomAction

Interface: ICustomAction

Custom action definition.

Properties​

Required​

PropertyTypeDescription
idstringUnique action identifier
labelstringDisplay label
onClick(items) => voidAction handler

Options​

PropertyTypeDescription
icon?ReactNodeIcon element
multiSelect?booleanWhether action supports multi-select

Events & callbacks​

PropertyTypeDescription
disabled?(items) => booleanDisabled condition
visible?(items) => booleanVisibility condition