UNPKG

@payfit/unity-components

Version:

22 lines (21 loc) • 1.05 kB
import { HTMLAttributes, PropsWithChildren } from 'react'; /** Props for {@link AIOutcomeCardActions}. */ export type AIOutcomeCardActionsProps = PropsWithChildren<Pick<HTMLAttributes<HTMLDivElement>, 'children' | 'className'>>; /** * Keeps Outcome Card actions aligned without taking space from the outcome * title and description. * * Renders `children` in a horizontal, spaced suffix container. * * Pass `AIOutcomeCardActions` through the parent card's `actions` prop and * compose visual-only trailing labels as `children`. The parent card is the * sole interactive surface, so do not nest links, buttons, or menu triggers. * @param props - Suffix content and an optional `className`. * @param props.children - One or more visual-only trailing action labels. * @param props.className - Additional classes merged with the suffix layout. */ declare const AIOutcomeCardActions: { ({ children, className, }: AIOutcomeCardActionsProps): import('react/jsx-runtime').JSX.Element; displayName: string; }; export { AIOutcomeCardActions };