New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-shopping-cart-starter-kit

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-shopping-cart-starter-kit

Reusable shopping cart component for React with no extra fluff.

  • 0.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-78.57%
Maintainers
1
Weekly downloads
 
Created
Source

React Shopping Cart Starter Kit

This component aims for loose coupling and comes with no batteries included.

Props

PropertyTypeRequired?DescriptionDefault
itemsObject
selectionArray[]
allowDoublesBooleanIf true, an item may appear more than once in the selection.false
onItemAddedFunctionCalled when an item is added to the cart.() => {}
onItemRemovedFunctionCalled when an item is removed from the cart.() => {}
onItemQtyChangedFunctionCalled when an item's quantity has changed.() => {}
onChangeFunction() => {}
iteratorFunction
mainComponentComponentA custom container component.
rowComponentComponentA custom row component.
tableClassNameStringThe css class name to apply to the table element.
cartEmptyMessageNodeThe message shown when the cart is empty.'The cart is empty. '

Keywords

FAQs

Package last updated on 23 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc