Type Referance
GhostaPopupContext
| Options | Type | Description |
|---|---|---|
| popupId | number | ID of popup |
| onClose | () => void | Close method of popup |
GhostaButtonOptions
| Options | Type | Description |
|---|---|---|
| title | string | Title of the button |
| preventClose | boolean | Prevent close when click on button |
| variant | default | primary | success | danger | Color | variant of the button |
| size | sm | md | lg | Size of the button |
| isFilled | boolean | if true, button will be filled |
| onClick | (params: GhostaPopupContext) => void | onClick event of button |
GhostaPopupElementColors
| Options | Type | Description |
|---|---|---|
| textIcon | string | Icon color |
| bgIcon | string | Icon background color |
| textTitle | string | Title color |
| textDescription | string | Description color |
| bgPanel | string | Panel background color |
| bgBackdrop | string | Backdrop background color |
| textCloseButton | string | Close button color |
| bgCloseButton | string | Close button background color |
GhostaPopupClassNames
| Options | Type | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| panel | string | ||||||||||||||||||||
| panelHeader | string | ||||||||||||||||||||
| panelBody | string | ||||||||||||||||||||
| panelFooter | string | ||||||||||||||||||||
| backdrop | string | ||||||||||||||||||||
| icon | string | ||||||||||||||||||||
| description | string | ||||||||||||||||||||
| button |
|