title string 'Start a return' Name title Description Shown as the card's title.
Type string Default 'Start a return' description string — Name description Description The order the return is for, such as its number and delivery date.
Type string Default — items* ReturnItem[] — Name items Description The order's items, each with a checkbox to pick it for the return.
Type ReturnItem[] Default — reasons ReturnChoice[] [
{ value : 'fit' , label : 'Doesn' t fit ' },
{ value : 'quality' , label : 'Not as expected' },
{ value : 'damaged' , label : 'Arrived damaged' },
{ value : 'wrong' , label : 'Wrong item sent' },
{ value : 'other' , label : 'Something else' },
] Name reasons Description The return reasons the shopper picks from; the reason field hides when empty.
Type ReturnChoice[] Default [
{ value : 'fit' , label : 'Doesn' t fit ' },
{ value : 'quality' , label : 'Not as expected' },
{ value : 'damaged' , label : 'Arrived damaged' },
{ value : 'wrong' , label : 'Wrong item sent' },
{ value : 'other' , label : 'Something else' },
] refundMethods ReturnChoice[] [] Name refundMethods Description Where the refund can go: the original payment, store credit.
Type ReturnChoice[] Default [] currency string 'EUR' Name currency Description ISO 4217 code the refund total is shown in while there are no items; otherwise the items' own.
Type string Default 'EUR' itemsLabel string 'Items to return' Name itemsLabel Description Shown above the list of items.
Type string Default 'Items to return' reasonLabel string 'Reason' Name reasonLabel Description Shown above the reason select.
Type string Default 'Reason' Name commentLabel Description Shown above the comment field.
Type string Default 'Anything we should know?' refundToLabel string 'Refund to' Name refundToLabel Description Shown above the refund methods.
Type string Default 'Refund to' refundLabel string 'Refund' Name refundLabel Description Shown above the refund total.
Type string Default 'Refund' submitLabel string 'Request return' Name submitLabel Description Shown on the button that sends the return request.
Type string Default 'Request return' surface ' raised ' | ' bare ' 'raised' Name surface Description Bare drops the edge, shadow and inset, for a section placed inside another Card.
Type ' raised ' | ' bare ' Default 'raised' class ClassValue — Name class Description Classes added to the part's own element, after its recipe classes.
Type null | string | false | Record < string , any > | ClassValue[] Default — selected string [] [] Name selected Description The ids of the items picked for the return.
Type string [] Default [] reason string — Name reason Description The chosen return reason, by value; the first reason shows when none is.
Type string Default — Name comment Description What the shopper typed in the comment field.
Type string Default '' refundTo string — Name refundTo Description The chosen refund method, by value; the first method shows when none is.
Type string Default —