@sikka/hawa 0.0.136 → 0.0.137
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/styles.css +13 -29
- package/es/elements/HawaDrawer.d.ts +4 -14
- package/es/index.es.js +1 -1
- package/lib/elements/HawaDrawer.d.ts +4 -14
- package/lib/index.js +1 -1
- package/package.json +1 -1
- package/src/elements/HawaDrawer.tsx +53 -77
- package/src/styles.css +13 -29
- package/storybook-static/{103.d48f1210.iframe.bundle.js → 103.af0e0958.iframe.bundle.js} +2 -2
- package/storybook-static/{103.d48f1210.iframe.bundle.js.LICENSE.txt → 103.af0e0958.iframe.bundle.js.LICENSE.txt} +0 -0
- package/storybook-static/iframe.html +1 -1
- package/storybook-static/main.3b2c2bdd.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/main.237a650d.iframe.bundle.js +0 -1
|
@@ -1,23 +1,13 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
2
|
type TDrawerTypes = {
|
|
3
3
|
open: boolean;
|
|
4
4
|
setOpen: any;
|
|
5
5
|
position: any;
|
|
6
6
|
heading: any;
|
|
7
7
|
children?: ReactNode;
|
|
8
|
+
drawerHeader?: any;
|
|
9
|
+
drawerBody?: any;
|
|
10
|
+
drawerFooter?: any;
|
|
8
11
|
};
|
|
9
12
|
export declare const HawaDrawer: React.FunctionComponent<TDrawerTypes>;
|
|
10
|
-
type TDrawerHeader = {
|
|
11
|
-
setOpen: any;
|
|
12
|
-
children: ReactElement;
|
|
13
|
-
};
|
|
14
|
-
export declare const DrawerHeader: FC<TDrawerHeader>;
|
|
15
|
-
type TDrawerBody = {
|
|
16
|
-
children: ReactElement;
|
|
17
|
-
};
|
|
18
|
-
export declare const DrawerBody: (props: TDrawerBody) => JSX.Element;
|
|
19
|
-
type TDrawerFooter = {
|
|
20
|
-
children: ReactElement;
|
|
21
|
-
};
|
|
22
|
-
export declare const DrawerFooter: (props: TDrawerFooter) => JSX.Element;
|
|
23
13
|
export {};
|