launch Requests
Toggles the visibility state of the requests modal.
The options parameter should include:
updateIsRequestsModalVisible: A function to update the visibility state of the requests modal.isRequestsModalVisible: A boolean indicating the current visibility state of the requests modal.
This function inverts the visibility state by passing the negated value of isRequestsModalVisible to updateIsRequestsModalVisible.
Example:
launchRequests(
LaunchRequestsOptions(
isRequestsModalVisible = true
)
)Content copied to clipboard