@campxdev/shared 1.11.7-0.alpha.55 → 1.11.7-0.alpha.56
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/package.json
CHANGED
|
@@ -37,18 +37,20 @@ export default function PageHeader({
|
|
|
37
37
|
}: PageHeaderProps) {
|
|
38
38
|
return (
|
|
39
39
|
<StyledBox noPadding={noPadding}>
|
|
40
|
-
|
|
40
|
+
<Box key="0">
|
|
41
41
|
{typeof title === 'string' ? (
|
|
42
42
|
<Typography variant="h1">{title}</Typography>
|
|
43
43
|
) : (
|
|
44
44
|
title
|
|
45
45
|
)}
|
|
46
|
+
</Box>
|
|
47
|
+
<Box marginTop={'10px'} key="1">
|
|
46
48
|
{typeof subtitle === 'string' ? (
|
|
47
49
|
<Typography>{subtitle}</Typography>
|
|
48
50
|
) : (
|
|
49
|
-
|
|
51
|
+
subtitle
|
|
50
52
|
)}
|
|
51
|
-
|
|
53
|
+
</Box>
|
|
52
54
|
<Box className="actions">{actions}</Box>
|
|
53
55
|
</StyledBox>
|
|
54
56
|
)
|
|
@@ -206,10 +206,10 @@ export default function ReactTable({
|
|
|
206
206
|
<Table sx={{ position: 'relative' }} {...getTableProps()}>
|
|
207
207
|
<TableHead>
|
|
208
208
|
{headerGroups.map((headerGroup, rowIndex) => (
|
|
209
|
-
<TableRow
|
|
209
|
+
<TableRow {...headerGroup.getHeaderGroupProps()}>
|
|
210
210
|
{showSerialNumber && <TableCell>S. No.</TableCell>}
|
|
211
211
|
{headerGroup.headers.map((column: any, colIndex) => (
|
|
212
|
-
<TableCell
|
|
212
|
+
<TableCell {...column.getHeaderProps()}>
|
|
213
213
|
{column.render('Header')}
|
|
214
214
|
{column.sort && (
|
|
215
215
|
<IconButton onClick={() => handleSortClick(column.id)}>
|