UNPKG

@capgo/cli

Version:
21 lines (20 loc) 848 B
import type { FC, ReactNode } from 'react'; export interface TerminalTooSmallPromptProps { cols: number; rows: number; /** Minimum columns this screen needs. Defaults to the full onboarding floor; * the platform picker passes its smaller PICKER_MIN_COLS. */ minCols?: number; /** Minimum rows this screen needs. Defaults to the full onboarding floor; the * platform picker passes its smaller PICKER_MIN_ROWS. So the prompt always * states the floor of the screen that's actually too small (e.g. "11 rows" on * the picker, not the wizard's 49). */ minRows?: number; } export declare const TerminalTooSmallPrompt: FC<TerminalTooSmallPromptProps>; export interface MinSizeGateProps { cols: number; rows: number; children: ReactNode; } export declare const MinSizeGate: FC<MinSizeGateProps>;