import React, { type HTMLAttributes } from 'react' import { type OverrideClassName } from '~components/types/OverrideClassName' import styles from './Actions.module.css' export type WorkflowActionsProps = { /** * Header actions will render in order of the array. */ headerActions?: JSX.Element[] } & OverrideClassName, 'children'>> /** A wrapper for an exit trigger (and other) actions of the Header Workflow */ export const Actions = ({ headerActions, ...restProps }: WorkflowActionsProps): JSX.Element => (
{headerActions?.map((action, index) => ( ))}
) Actions.displayName = 'Workflow.Actions'