@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
25 lines (24 loc) • 787 B
TypeScript
import type { HoistedMenuItem } from '../_common/MenuHoisting/MenuHoistingContext';
/**
* Props for book editor actionbar.
*/
type BookEditorActionbarProps = {
value: string | undefined;
isDownloadButtonShown?: boolean;
isUploadButtonShown?: boolean;
isCameraButtonShown?: boolean;
isAboutButtonShown?: boolean;
isFullscreenButtonShown?: boolean;
onFullscreenClick?: () => void;
onUploadDocument?: () => void;
onTakePhoto?: () => void;
isFullscreen?: boolean;
hoistedMenuItems?: ReadonlyArray<HoistedMenuItem>;
};
/**
* Handles book editor actionbar.
*
* @private Internal component used by `BookEditor`
*/
export declare function BookEditorActionbar(props: BookEditorActionbarProps): import("react/jsx-runtime").JSX.Element;
export {};