@muraldevkit/ui-toolkit 1.15.0 → 1.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { MrlComponentProps } from '../../../utils';
|
|
3
|
+
import './styles.global.scss';
|
|
3
4
|
interface MrlModalFooterProps extends MrlComponentProps {
|
|
4
5
|
/**
|
|
5
6
|
* Content of the modal footer
|
|
@@ -9,22 +10,12 @@ interface MrlModalFooterProps extends MrlComponentProps {
|
|
|
9
10
|
* Wrapper Class
|
|
10
11
|
*/
|
|
11
12
|
className?: string;
|
|
12
|
-
/**
|
|
13
|
-
* Slots for primary, secondary, and tertiary modal regions
|
|
14
|
-
*/
|
|
15
|
-
primary?: React.ReactElement;
|
|
16
|
-
secondary?: React.ReactElement;
|
|
17
|
-
tertiary?: React.ReactElement;
|
|
18
13
|
}
|
|
19
14
|
/**
|
|
20
15
|
* Modal Footer component for the MrlModal
|
|
21
16
|
*
|
|
22
|
-
* @param {
|
|
23
|
-
* @param {AttrsObject} props.attrs - Additional HTML attributes for the `mrl-modal` element
|
|
24
|
-
* @param {React.ReactElement} props.primary - primary modal element
|
|
25
|
-
* @param {React.ReactElement} props.secondary - secondary modal element
|
|
26
|
-
* @param {React.ReactElement} props.tertiary - tertiary modal element
|
|
17
|
+
* @param {AttrsObject} attrs - Additional HTML attributes for the `mrl-modal` element
|
|
27
18
|
* @returns {React.ReactElement} The rendered MrlModalFooter component
|
|
28
19
|
*/
|
|
29
|
-
export declare const MrlModalFooter: ({ attrs, children, className
|
|
20
|
+
export declare const MrlModalFooter: ({ attrs, children, className }: MrlModalFooterProps) => JSX.Element;
|
|
30
21
|
export {};
|