pixel-react 1.0.7 → 1.0.8

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/lib/index.js CHANGED
@@ -1227,11 +1227,12 @@ styleInject(css_248z$r);
1227
1227
  const Container = ({
1228
1228
  children,
1229
1229
  fluid = false,
1230
- gap = '0px'
1230
+ gap = '0px',
1231
+ className = ''
1231
1232
  }) => {
1232
- const className = fluid ? 'ff-container-fluid' : 'ff-container';
1233
+ const containerClassName = fluid ? 'ff-container-fluid' : 'ff-container';
1233
1234
  return jsxRuntime.jsx("div", {
1234
- className: className,
1235
+ className: classNames(containerClassName, className),
1235
1236
  style: {
1236
1237
  gap
1237
1238
  },
@@ -1240,10 +1241,11 @@ const Container = ({
1240
1241
  };
1241
1242
  const Row = ({
1242
1243
  children,
1243
- gap = '0px'
1244
+ gap = '0px',
1245
+ className = ''
1244
1246
  }) => {
1245
1247
  return jsxRuntime.jsx("div", {
1246
- className: "ff-row",
1248
+ className: classNames("ff-row", className),
1247
1249
  style: {
1248
1250
  gap
1249
1251
  },
@@ -1252,11 +1254,12 @@ const Row = ({
1252
1254
  };
1253
1255
  const Col = ({
1254
1256
  children,
1255
- size = 12
1257
+ size = 12,
1258
+ className = ''
1256
1259
  }) => {
1257
- const className = `ff-col-${size}`;
1260
+ const colClassName = `ff-col-${size}`;
1258
1261
  return jsxRuntime.jsx("div", {
1259
- className: className,
1262
+ className: classNames(colClassName, className),
1260
1263
  children: children
1261
1264
  });
1262
1265
  };