Here is rendering actions(shown as icons/buttons first) in Main
import {ActionsRender} from 'digimaker-ui';//...// actionsConfig is a list of actions, supporting component and link<ActionsRenderactionProps={{from: content,params: {content: content,afterAction: (redirect: boolean) =>afterAction(redirect),} as ContentActionParams,fromview: "content",}}actionsConfig={mainConfig.actions}/>//...
Here are properties of ActionsRender
| Prop name | Type | Default | Required | Description |
|---|---|---|---|---|
| actionsConfig | {} | — | true | action configs |
| actionProps | ActionProps | — | true | action properties, can be list/content/inline |
| iconOnly | boolean | — | false |