I have a custom widget to which I am trying to add a DataActionList component with the DataAction of ViewInTable. I am usingthe documentation from StoryBook : https://developers.arcgis.com/experience-builder/storybook/?path=/docs/components-jimu-ui-lib-dataactionlist--docs
I am expecting to see thisc(below image) added to my widget with single option to "View in Table TEST"

Code:
{ <DataActionList widgetId={props.id} dataSets={outputDS} listStyle='DROPDOWN' /> }
DataActionManager.getInstance().getSupportedActions = (...args) => {
return ({
export: [{
id: "view-in-table",
label: "View in Table TEST",
name: 'view',
icon: "icon.svg"
}]
} as any);
}
This code adds an option for View in Table TEST for other widgets with Data Action but not to my custom widget. Any ideas what I could be missing.
Thanks