@capgo/cli
Version:
A CLI to upload to capgo servers
26 lines (25 loc) • 659 B
TypeScript
import type { FC } from 'react';
export declare const Divider: FC<{
width?: number;
}>;
export declare const SpinnerLine: FC<{
text: string;
}>;
export declare const SuccessLine: FC<{
text: string;
detail?: string;
}>;
export declare const ErrorLine: FC<{
text: string;
}>;
/**
* Custom TextInput that filters out specific characters (e.g. '=').
* @inkjs/ui's TextInput is uncontrolled and can't filter keystrokes,
* so we build a minimal one with Ink's useInput.
*/
export declare const FilteredTextInput: FC<{
placeholder?: string;
filter?: string;
onSubmit: (value: string) => void;
}>;
export declare const Header: FC;