I am trying to make changes to a built-in widget. As an example, let's say I want to take Map Layers widget and modify it:
I want to change transparency to a slider, instead of current buttons. What I did was to find widget files from ArcGISExperienceBuilder\client\dist\widgets\arcgis\map-layers and create a new custom widget from them. I started working with them and noticed that it uses DataActionList like this:
<DataActionList widgetId={this.props.id} dataSet={dataSet}></DataActionList>
If I want to add a new action to the list of actions in this widget, how do I generate html component for it? I checked DataActionList and it only takes a buttonType: