src/components/templates/ItemDetails/NestedModifiers/index.js

/**
 * @namespace NestedModifiers
 */
/**
 * @alias       Component
 * @memberof!   NestedModifiers
 * @typedef     {ReactElement} Component - The parent component.
 * @property    {object}    props
 * @property    {function}  props.addModifier - add a modifier payload to parent state
 * @property    {function}  props.onClose - click event for background tint to close current drawer
 * @property    {object}    props.parent - parent payload (option and item with selected nested modifiers)
 * @property    {function}  props.removeModifier - remove a modifier payload from parent state
 * @property    {boolean}   props.[showQuantity] - whether or not to render quantity selector
 * @property    {string}    props.style - the style cell type from parent item details
 */
/**
 * @alias       Return
 * @memberof!   NestedModifiers
 * @typedef     {ReactElement}  Return - The returned component from {@link withNestedModifiers}.
 * @property    {object}    props
 * @property    {function}  props.addNestedModifier -
 * @property    {function}  props.closeDrawer -
 * @property    {function}  props.decrement -
 * @property    {array}     props.errors -
 * @property    {function}  props.increment -
 * @property    {object}    props.modifications -
 * @property    {string}    props.name -
 * @property    {object}    props.nestedDrawer -
 * @property    {function}  props.onClose -
 * @property    {function}  props.onSubmit -
 * @property    {array}     props.options -
 * @property    {object}    props.optionsHash -
 * @property    {number}    props.quantity -
 * @property    {function}  props.removeNestedModifier -
 * @property    {boolean}   props.showQuantity -
 * @property    {object}    props.style -
 */
import Selector from "./selector";

export default Selector;