new AllReviews(props)
A modal screen that lists all reviews for either a given dish or a given chef.
Parameters:
Name | Type | Description |
---|---|---|
props |
AllReviewsProps |
- Source:
Type Definitions
AllReviewsProps
Properties:
Name | Type | Description |
---|---|---|
visible |
boolean |
boolean value indicating whether this modal is currently visible or not |
hideModal |
function |
function passed in from parent to close this modal |
dishid |
int |
dishid if component is all reviews for a dish (null if chefid is not null) |
chefid |
int |
chefid if component is all reviews for a chef (null if dishid is not null) |
navigation |
Object |
Stack Navigation object |
- Source: