r3bl-ts-utils
Version:
The `r3bl-ts-utils` package is a set of useful TypeScript functions and classes that can be used in Node.js and browser environments. They are inspired by Kotlin stdlib, and Rust to write code as expressions rather than statements, colorized text, powerfu
13 lines (12 loc) • 359 B
TypeScript
import { FC } from "react";
import { StateHolder } from "../../tui-core";
import { UseKeyboardReturnValue } from "../../tui-node-keyboard";
export declare type HookOutput = {
answer: StateHolder<string>;
useKeyboard: UseKeyboardReturnValue;
greeting: string;
};
export declare type HookInput = {
name: string;
};
export declare const App: FC;