@teaui/core
Version:
A high-level terminal UI library for Node
13 lines (12 loc) • 433 B
TypeScript
import type { Viewport } from '../Viewport.js';
import { Size } from '../geometry.js';
import { type Props as NotificationProps, Notification } from './Notification.js';
export interface Props extends NotificationProps {
}
export declare class Callout extends Notification {
#private;
constructor(props?: Props);
update(props: Props): void;
naturalSize(available: Size): Size;
render(viewport: Viewport): void;
}