@hybr1d-tech/charizard 0.4.0 → 0.4.4

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,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { FooterButtons } from '../modal/ModalFooter';
3
- type DrawerProps = {
3
+ interface DrawerProps {
4
4
  /**
5
5
  * Drawer footer className
6
6
  */
@@ -29,6 +29,10 @@ type DrawerProps = {
29
29
  * Drawer title
30
30
  */
31
31
  title?: string;
32
+ /**
33
+ * Drawer subTitle
34
+ */
35
+ subTitle?: string;
32
36
  /**
33
37
  * Custom drawer header
34
38
  */
@@ -66,6 +70,6 @@ type DrawerProps = {
66
70
  * Drawer position
67
71
  */
68
72
  drawerPosition?: 'left' | 'right';
69
- };
70
- export declare function Drawer({ isOpen, onClose, children, title, customHeader, customFooter, size, showBackdrop, showHeader, showFooter, buttons, footerAddon, headerClassName, contentClassName, footerClassName, showHeaderBorder, drawerPosition, }: DrawerProps): import("react/jsx-runtime").JSX.Element;
73
+ }
74
+ export declare function Drawer({ isOpen, onClose, children, title, subTitle, customHeader, customFooter, size, showBackdrop, showHeader, showFooter, buttons, footerAddon, headerClassName, contentClassName, footerClassName, showHeaderBorder, drawerPosition, }: DrawerProps): import("react/jsx-runtime").JSX.Element;
71
75
  export {};
@@ -1,13 +1,14 @@
1
1
  import * as React from 'react';
2
- export type EmptyStateProps = {
2
+ interface EmptyStateProps {
3
3
  icon: string;
4
4
  title: string;
5
5
  desc?: string;
6
6
  flexDir?: 'row' | 'column';
7
7
  btnText?: string;
8
8
  onClick?: React.MouseEventHandler<HTMLButtonElement>;
9
- };
9
+ }
10
10
  /**
11
11
  * adapts to parent's width and height
12
12
  */
13
13
  export declare function EmptyState({ icon, title, desc, flexDir, btnText, onClick, }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
14
+ export {};