@visns-studio/visns-components 2.2.3 → 2.2.5
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.
|
@@ -687,15 +687,14 @@ const DataGrid = forwardRef(
|
|
|
687
687
|
const commonProps = {
|
|
688
688
|
header: column.label,
|
|
689
689
|
defaultFlex: 1,
|
|
690
|
-
link: column.link
|
|
691
|
-
minWidth:
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
: undefined,
|
|
690
|
+
link: column.link ?? {},
|
|
691
|
+
minWidth: column.minWidth ?? undefined,
|
|
692
|
+
maxWidth: column.maxWidth ?? undefined,
|
|
693
|
+
textVerticalAlign: 'top',
|
|
694
|
+
style: {
|
|
695
|
+
...(column.style ?? {}),
|
|
696
|
+
margin: '0px',
|
|
697
|
+
},
|
|
699
698
|
};
|
|
700
699
|
|
|
701
700
|
switch (column.type) {
|
package/package.json
CHANGED