UNPKG

@payfit/unity-components

Version:

26 lines (25 loc) • 1.07 kB
import { ReactNode } from 'react'; export interface AIComposerActionsProps { /** Renders supporting actions, such as attachment controls, on the left. */ left?: ReactNode; /** Renders the primary send or stop action on the right. */ right?: ReactNode; /** Adds layout styling to the action row. */ className?: string; } /** * Keeps prompt actions predictable by separating supporting controls from the * primary send or stop action. * * Pass secondary `AIComposerAction` controls through `left` and an * `AIComposerSubmitAction` through `right`. * @param props - The optional left and right action regions. * @param props.left - Renders supporting actions on the left. * @param props.right - Renders the primary action on the right. * @param props.className - Adds layout styling to the action row. * @see {@link AIComposerActionsProps} for all available props. */ export declare const AIComposerActions: { ({ left, right, className, }: AIComposerActionsProps): import('react/jsx-runtime').JSX.Element; displayName: string; };