Skip to content

v0.1.0

Latest
Compare
Choose a tag to compare
@Brittany-Reid Brittany-Reid released this 13 Sep 12:04
  • Added header property to InputPrompt. This was implemented in a wrapping component in NCQ, but the onSubmit/onCancel and size logic is simpler if we handle it directly. You can supply text or an ink element, however, it's currently limited to a single line.
  • Fixed a bug causing custom keybindings to behave oddly, for example, cancel to throw an error only on the run of a prompt. Actually the issue was the defaultKeyBindings object being modified, now it deep clones using lodash.
  • Lodash added as a direct dependency.