UNPKG

@payfit/unity-components

Version:

24 lines (23 loc) • 895 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. */ export declare function InlineFieldGroupActions({ orientation, customActions, }: InlineFieldGroupActionsProps): import('react/jsx-runtime').JSX.Element; export declare namespace InlineFieldGroupActions { var displayName: string; }