UNPKG

@payfit/unity-components

Version:

25 lines (24 loc) 908 B
import { ReactNode } from 'react'; export interface InlineFieldGroupActionsProps { /** * Layout orientation for the action buttons. * - horizontal: buttons in a row (desktop/header) * - vertical: buttons stacked (mobile/bottom) * @default 'horizontal' */ orientation?: 'horizontal' | 'vertical'; /** * Additional custom actions to render alongside the default buttons. */ customActions?: ReactNode; } /** * InlineFieldGroupActions renders the edit/save/cancel action buttons. * This is an internal component used by InlineFieldGroupHeader and InlineFieldGroup * to provide responsive button placement. * @internal */ export declare function InlineFieldGroupActions({ orientation, customActions, }: InlineFieldGroupActionsProps): import("react/jsx-runtime").JSX.Element; export declare namespace InlineFieldGroupActions { var displayName: string; }