ParcelSizeSettings - React Component wrapper for shop default parcel size form displayed in shipping settings
Extends
- Component
Members
(inner) handleCardExpand
Handle card expansion
(inner) handleSubmit
Handle form submission
(inner) ParcelSizeSettings propTypes :propTypes
Properties:
Name | Type | Description |
---|---|---|
doc |
function | the parcel object |
fieldsProp |
Object | properties of the fields |
getEditFocus |
function | provides function that gets edit/focus value in Reaction state |
hiddenFields |
Array | fields not to be shown |
onCardExpand |
function | provides function that controls card expansion |
saveDefaultSize |
function | provides function / action when form is submitted |
shownFields |
Object | fields to be shown and how to be shown |
Type:
- propTypes
(inner) renderComponent
React component for displaying default parcel size form