Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function layoutActions(actions) {
return {
left: [
{
displayMode: ActionBar.DISPLAY_MODES.BTN_GROUP,
actions: [actions.undo, actions.redo],
},
{
displayMode: ActionBar.DISPLAY_MODES.BTN_GROUP,
actions: [actions.showAll, actions.clear, actions.clearAll],
},
],
};
}
function layoutActions(actions) {
return {
left: [
{
displayMode: ActionBar.DISPLAY_MODES.BTN_GROUP,
actions: [actions.undo, actions.redo],
},
{
displayMode: ActionBar.DISPLAY_MODES.BTN_GROUP,
actions: [actions.showAll, actions.clear, actions.clearAll],
},
],
};
}