react-curse
Version:
A curses-like blazingly fast react renderer
12 lines (11 loc) • 452 B
TypeScript
import { Modifier } from '../screen';
import React, { type PropsWithChildren } from 'react';
export interface TextProps extends Modifier {
readonly absolute?: boolean;
readonly x?: number | string;
readonly y?: number | string;
readonly width?: number | string;
readonly height?: number | string;
readonly block?: boolean;
}
export default function Text({ children, ...props }: PropsWithChildren<TextProps>): React.JSX.Element;