โจ๏ธ FooterHints
Wrapped keyboard shortcut hints for interactive screens.
<FooterHints> renders consistent keyboard shortcut help for interactive terminal screens.
import { FooterHints } from "@kud/ink-ui";
import type { Hint } from "@kud/ink-ui";๐ง Props
| Prop | Type | Description |
|---|---|---|
hints | Hint[] | Tuples of key label and meaning |
๐ก Examples
<FooterHints
hints={[
["โโ", "navigate"],
["โต", "select"],
["q", "quit"],
]}
/>