umwd-components 0.1.24 → 0.1.25
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.
|
@@ -28,7 +28,13 @@ function Page({
|
|
|
28
28
|
}));
|
|
29
29
|
}
|
|
30
30
|
Page.propTypes = {
|
|
31
|
-
page_blocks: PropTypes.
|
|
31
|
+
page_blocks: PropTypes.arrayOf(PropTypes.shape({
|
|
32
|
+
block_title: PropTypes.string,
|
|
33
|
+
text_content: PropTypes.string,
|
|
34
|
+
image_content: PropTypes.string,
|
|
35
|
+
reverse: PropTypes.bool,
|
|
36
|
+
maxWidth: PropTypes.string
|
|
37
|
+
}))
|
|
32
38
|
};
|
|
33
39
|
|
|
34
40
|
exports.default = Page;
|
|
@@ -24,7 +24,13 @@ function Page({
|
|
|
24
24
|
}));
|
|
25
25
|
}
|
|
26
26
|
Page.propTypes = {
|
|
27
|
-
page_blocks: PropTypes.
|
|
27
|
+
page_blocks: PropTypes.arrayOf(PropTypes.shape({
|
|
28
|
+
block_title: PropTypes.string,
|
|
29
|
+
text_content: PropTypes.string,
|
|
30
|
+
image_content: PropTypes.string,
|
|
31
|
+
reverse: PropTypes.bool,
|
|
32
|
+
maxWidth: PropTypes.string
|
|
33
|
+
}))
|
|
28
34
|
};
|
|
29
35
|
|
|
30
36
|
export { Page as default };
|
package/package.json
CHANGED
package/src/components/Page.js
CHANGED
|
@@ -24,7 +24,15 @@ function Page({ page_blocks }) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
Page.propTypes = {
|
|
27
|
-
page_blocks: PropTypes.
|
|
27
|
+
page_blocks: PropTypes.arrayOf(
|
|
28
|
+
PropTypes.shape({
|
|
29
|
+
block_title: PropTypes.string,
|
|
30
|
+
text_content: PropTypes.string,
|
|
31
|
+
image_content: PropTypes.string,
|
|
32
|
+
reverse: PropTypes.bool,
|
|
33
|
+
maxWidth: PropTypes.string,
|
|
34
|
+
})
|
|
35
|
+
),
|
|
28
36
|
};
|
|
29
37
|
|
|
30
38
|
export default Page;
|