@bigbinary/neeto-molecules 3.15.15 → 3.15.17
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/README.md +1 -0
- package/dist/CardLayout.js +42 -0
- package/dist/CardLayout.js.map +1 -0
- package/dist/PhoneNumber.js +2 -2
- package/dist/SessionEnvironment.js +1 -1
- package/dist/cjs/CardLayout.js +44 -0
- package/dist/cjs/CardLayout.js.map +1 -0
- package/dist/cjs/PhoneNumber.js +1 -1
- package/dist/cjs/SessionEnvironment.js +1 -1
- package/dist/cjs/{phone-number-CPwIzezl.js → phone-number-BN-c0rfv.js} +2 -2
- package/dist/cjs/{phone-number-CPwIzezl.js.map → phone-number-BN-c0rfv.js.map} +1 -1
- package/dist/{phone-number-BQlzXtYl.js → phone-number-CXCBroLh.js} +2 -2
- package/dist/{phone-number-BQlzXtYl.js.map → phone-number-CXCBroLh.js.map} +1 -1
- package/package.json +1 -1
- package/types/CardLayout.d.ts +33 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-molecules",
|
|
3
|
-
"version": "3.15.
|
|
3
|
+
"version": "3.15.17",
|
|
4
4
|
"description": "A package of reusable molecular components for neeto products.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-molecules.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* The CardLayout component is used to render the content wrapped in the card
|
|
6
|
+
*
|
|
7
|
+
* layout.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
*
|
|
11
|
+
* import CardLayout from "@bigbinary/neeto-molecules/CardLayout";
|
|
12
|
+
*
|
|
13
|
+
* const Component = () => (
|
|
14
|
+
* <CardLayout
|
|
15
|
+
* title="Set start day of the week"
|
|
16
|
+
* description="Choose your preferred start day of the week. This setting will be applied to all calendars."
|
|
17
|
+
* actionBlock={<Button label="Primary action" />}
|
|
18
|
+
* >
|
|
19
|
+
* {children}
|
|
20
|
+
* </CardLayout>
|
|
21
|
+
* );
|
|
22
|
+
* @endexample
|
|
23
|
+
*/
|
|
24
|
+
declare const CardLayout: React.FC<{
|
|
25
|
+
title?: string;
|
|
26
|
+
description?: React.ReactNode;
|
|
27
|
+
className?: string;
|
|
28
|
+
containerClassName?: string;
|
|
29
|
+
children?: React.ReactNode;
|
|
30
|
+
actionBlock?: React.ReactNode;
|
|
31
|
+
}>;
|
|
32
|
+
|
|
33
|
+
export { CardLayout as default };
|