InputType
The InputType type defines the possible input modes for the Input component.
Type Definition
"text": Standard text input — characters are visible as typed."password": Characters are masked with*as the user types.
type InputType = "text" | "password";
Usage
import { Input } from "ts-better-console";
const input = new Input({type: "password",});
label: "Enter password",
Want to support this project?
If you find ts-better-console useful and want to support its development, consider starring the GitHub repository or buying me a coffee! Your support helps me dedicate more time to improving the library and adding new features.
Want to contribute to this project?
Contributions are welcome! If you're interested in improving the library, fixing bugs, or adding new features, feel free to check out the GitHub repository and submit a pull request. Whether you're a seasoned developer or new to open source, your contributions can make a difference!