@hooks/stack
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

🎒 @hooks/stack

React hook to manage a stack

NPM version Travis License

Install

npm i @hooks/stack

Usage

useStack

useStack(initialState: Item[] = [])

Parameters

initialState: Item[] = []

Populate the stack with an array of initial values.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    0

Package Sidebar

Install

npm i @hooks/stack

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

4.05 kB

Total Files

9

Last publish

Collaborators

  • simmo