Modal
A modal blocks all user interaction and displays a message to the user or asks for feedback using a form.
You can generate a modal anywhere in your application using the ViewContext - you don't need to import a modal component.
Preview
Code
Parameters
Param | Description | Required | Value |
---|---|---|---|
buttonText | submit button text | optional | string |
descructive | show a red button | optional | boolean |
form | optional | object | |
method | HTTP post type | optional | string |
text | message to the user | optional | string |
title | title | required | string |
url | destination to send the form | optional | string |
Last updated