sprint-asia-custom-component 0.1.103 → 0.1.104
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/index.js
CHANGED
|
@@ -23866,7 +23866,7 @@
|
|
|
23866
23866
|
}, title && /*#__PURE__*/React__default["default"].createElement("p", {
|
|
23867
23867
|
className: "text-sm font-normal text-black mb-1"
|
|
23868
23868
|
}, title), value && /*#__PURE__*/React__default["default"].createElement("div", {
|
|
23869
|
-
className: "py-1"
|
|
23869
|
+
className: "py-1 whitespace-pre-line"
|
|
23870
23870
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
23871
23871
|
className: `
|
|
23872
23872
|
${textColor == "default" && "text-black font-semibold text-base"}
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ const Description = ({ title, value, textColor = "default", subtitle, linkSubtit
|
|
|
5
5
|
<div className="w-full">
|
|
6
6
|
{title && <p className="text-sm font-normal text-black mb-1">{title}</p>}
|
|
7
7
|
{value && (
|
|
8
|
-
<div className="py-1">
|
|
8
|
+
<div className="py-1 whitespace-pre-line">
|
|
9
9
|
<p
|
|
10
10
|
className={`
|
|
11
11
|
${textColor == "default" && "text-black font-semibold text-base"}
|
package/src/templates/index.js
CHANGED
|
@@ -1072,8 +1072,8 @@ const Templates = () => {
|
|
|
1072
1072
|
<p className="text-black font-bold text-2xl text-center py-2">Description</p>
|
|
1073
1073
|
<Description
|
|
1074
1074
|
title="Sample Title"
|
|
1075
|
-
|
|
1076
|
-
image="https://static.promediateknologi.id/crop/0x0:0x0/0x0/webp/photo/jawapos/2022/09/one-piece-red.jpeg"
|
|
1075
|
+
value={"This is a sample description.\n HHEHEEH \n LOh"}
|
|
1076
|
+
// image="https://static.promediateknologi.id/crop/0x0:0x0/0x0/webp/photo/jawapos/2022/09/one-piece-red.jpeg"
|
|
1077
1077
|
/>
|
|
1078
1078
|
|
|
1079
1079
|
<div className="m-9"></div>
|