new ReviewPrompt(props)
A modal screen that prompts the user for reviews for all dishes for a certain chef within an order after completion
Parameters:
Name | Type | Description |
---|---|---|
props |
ReviewPromptProps |
- Source:
Type Definitions
ReviewPromptProps
Properties:
Name | Type | Description |
---|---|---|
order |
Order |
Order object that corresponds to the current open orders |
visible |
boolean |
boolean value indicating whether this modal is currently visible or not |
chef |
String |
chef name of the review prompt |
closeOpenOrder |
function |
function passed in to close the current order upon closing of last chef order |
refresh |
function |
function passed in from parent to force refresh of parent on close |
hideModal |
function |
function passed in from parent to close this modal |
- Source: