Modal
The modal component provides a solid foundation for creating dialogs, popovers, lightboxes, or whatever else.
Import
import { Modal } from "@webeetle/windy";
#
DefaultResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
With ActionsResult
SyntaxError: Unexpected token (1:8) 1 : return () ^
Live Editor
#
PropsProps | Type | Default |
---|---|---|
isOpen | bool | false |
showCloseButton | bool | true |
title | string | "" |
color | [ "gray", "red", "yellow", "green", "blue", "indigo", "purple", "pink","none"] | gray |
rounded | ["xs", "sm", "md", "lg", "xl"] | md |
size | ["xs", "sm", "md", "lg", "xl"] | md |
actions | array | [] |