- { props.actionProps?.buttons.map(
- ( {
+ { actionProps?.buttons.map( ( buttonData ) => {
+ const {
class: className,
type,
text,
- url,
- urls,
onClick,
- } ) => (
-
- )
- ) }
+ isBusy={ actionProps.isBusy }
+ href={ buttonUrl }
+ target={ buttonUrl ? '_blank' : undefined }
+ onClick={ ! buttonUrl ? onClick : undefined }
+ >
+ { text }
+
+ );
+ } ) }