import React, { type HTMLAttributes } from 'react'
import classnames from 'classnames'
import { type OverrideClassName } from '~components/types/OverrideClassName'
import styles from './FooterActions.module.css'
export type FooterActionsProps = {
actionType?: 'Previous' | 'Next'
action?: JSX.Element
} & OverrideClassName, 'children'>>
/** A simple wrapper for a Footer previous or next action */
export const FooterAction = ({
actionType = 'Previous',
action,
...restProps
}: FooterActionsProps): JSX.Element => (
{action}
)
FooterAction.displayName = 'Workflow.FooterActions'