β¨οΈ 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"],
]}
/>