UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

29 lines (28 loc) 1 kB
import type { ButtonHTMLAttributes, ComponentProps } from 'react'; import { ArrowIcon } from './ArrowIcon'; /** * Shared props for rendering one solid arrow button. * * @private internal props typing for `<SolidArrowButton/>` */ type SolidArrowButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children'> & { /** * Arrow direction rendered inside the button. */ readonly direction: ComponentProps<typeof ArrowIcon>['direction']; /** * Icon size in pixels. */ readonly iconSize?: number; /** * Optional class names forwarded to the icon. */ readonly iconClassName?: string; }; /** * Reusable solid arrow button used by chat controls across host applications. * * @private internal shared UI primitive for Promptbook-host applications. */ export declare function SolidArrowButton({ direction, iconSize, className, iconClassName, type, ...buttonProps }: SolidArrowButtonProps): import("react/jsx-runtime").JSX.Element; export {};