Skip to content

Commit

Permalink
add display flex
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii committed Feb 26, 2024
1 parent a04f291 commit aed436e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/components/productX/XTheming.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function XTheming() {
const columns: Array<GridColDef> = [
{
field: 'desk',
headerName: 'desk',
headerName: 'Desk',
width: customized ? 72 : 100,
sortable: false,
editable: true,
Expand All @@ -65,6 +65,7 @@ export default function XTheming() {
sortable: false,
editable: true,
...(customized && {
display: 'flex',
renderCell: (params: GridCellParams) => {
return <ProgressBar value={Number(params.value)!} />;
},
Expand All @@ -81,6 +82,7 @@ export default function XTheming() {
sortable: false,
editable: true,
...(customized && {
display: 'flex',
renderCell: (params: GridCellParams) => {
return <Status status={(params.value || '').toString()} />;
},
Expand Down

0 comments on commit aed436e

Please sign in to comment.