@cpmech/ink-confirm
My awesome package
Last updated 10 months ago by dorival .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @cpmech/ink-confirm 
SYNC missed versions from official npm registry.

ink-confirm

React compoennt to receive a confirmation from the terminal. Using the Ink cli framework.

Example

const ready = (confirmed: boolean) => {
  console.log(`confirmed = ${confirmed}`);
}

render(<Confirm ready={ready} question="Are you sure? [y/n]" defaultAnswer="yes" />);

Current Tags

  • 0.1.5                                ...           latest (10 months ago)

6 Versions

  • 0.1.5                                ...           10 months ago
  • 0.1.4                                ...           10 months ago
  • 0.1.3                                ...           10 months ago
  • 0.1.2                                ...           10 months ago
  • 0.1.1                                ...           10 months ago
  • 0.1.0                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (11)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |