asciitorium
Version:
an ASCII CLUI framework
13 lines (12 loc) • 362 B
TypeScript
import { Component, ComponentProps } from '../core/Component.js';
export interface LineOptions extends ComponentProps {
direction?: 'horizontal' | 'vertical';
length?: number;
char?: string;
}
export declare class Line extends Component {
private direction;
private lineChar;
constructor(options?: LineOptions);
draw(): string[][];
}