@delightui/components 0.1.42 → 0.1.43
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.
- package/dist/cjs/components/molecules/Modal/ModalFooter/ModalFooter.types.d.ts +3 -3
- package/dist/cjs/library.js +2 -2
- package/dist/cjs/library.js.map +1 -1
- package/dist/esm/components/molecules/Modal/ModalFooter/ModalFooter.types.d.ts +3 -3
- package/dist/esm/library.js +3 -3
- package/dist/esm/library.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
2
|
/**
|
|
3
3
|
* Defines the type of modal footer layout.
|
|
4
|
-
* @default "
|
|
4
|
+
* @default "1Button"
|
|
5
5
|
*/
|
|
6
|
-
export type ModalFooterTypeEnum = "
|
|
6
|
+
export type ModalFooterTypeEnum = "1Button" | "2Buttons";
|
|
7
7
|
/**
|
|
8
8
|
* Props for the ModalFooter component.
|
|
9
9
|
*/
|
|
10
10
|
export type ModalFooterProps = Omit<HTMLAttributes<HTMLDivElement>, 'style'> & {
|
|
11
11
|
/**
|
|
12
12
|
* Determines whether the footer contains one or two buttons.
|
|
13
|
-
* @default "
|
|
13
|
+
* @default "1Button"
|
|
14
14
|
*/
|
|
15
15
|
type?: ModalFooterTypeEnum;
|
|
16
16
|
/**
|