umwd-components 0.1.91 → 0.1.92

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.
@@ -44,7 +44,7 @@ function TextImageSection(_ref) {
44
44
 
45
45
  const theme = material.useTheme();
46
46
  return /*#__PURE__*/React.createElement(material.Container, {
47
- maxWidth: maxWidth || "lg",
47
+ maxWidth: maxWidth ? maxWidth : "lg",
48
48
  sx: {
49
49
  my: 1
50
50
  }
@@ -40,7 +40,7 @@ function TextImageSection(_ref) {
40
40
 
41
41
  const theme = useTheme();
42
42
  return /*#__PURE__*/React__default.createElement(Container, {
43
- maxWidth: maxWidth || "lg",
43
+ maxWidth: maxWidth ? maxWidth : "lg",
44
44
  sx: {
45
45
  my: 1
46
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.91",
3
+ "version": "0.1.92",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -51,7 +51,7 @@ function TextImageSection({ data }: Readonly<TextImageSectionProps>) {
51
51
  const theme = useTheme();
52
52
 
53
53
  return (
54
- <Container maxWidth={maxWidth || "lg"} sx={{ my: 1 }}>
54
+ <Container maxWidth={maxWidth ? maxWidth : "lg"} sx={{ my: 1 }}>
55
55
  <Paper sx={{ p: 2 }}>
56
56
  {title && (
57
57
  <Typography variant="h1" textAlign="center" sx={{ pb: 2 }}>