🐛(react) fix DataGrid stories
Due to a recent update we need to set id for custom columns. This wasn't reflected in stories.
This commit is contained in:
@@ -85,6 +85,7 @@ export const ClientSideWithoutPagination = () => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
headerName: "Actions",
|
headerName: "Actions",
|
||||||
|
id: "actions",
|
||||||
renderCell: () => (
|
renderCell: () => (
|
||||||
<Button
|
<Button
|
||||||
color="tertiary"
|
color="tertiary"
|
||||||
@@ -229,6 +230,7 @@ export const FullServerSide = () => {
|
|||||||
headerName: "Address",
|
headerName: "Address",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
id: "actions",
|
||||||
renderCell: () => (
|
renderCell: () => (
|
||||||
<Button
|
<Button
|
||||||
color="tertiary"
|
color="tertiary"
|
||||||
@@ -271,6 +273,7 @@ export const DataListOnly = () => {
|
|||||||
{ field: "date" },
|
{ field: "date" },
|
||||||
{
|
{
|
||||||
headerName: "action",
|
headerName: "action",
|
||||||
|
id: "action",
|
||||||
renderCell: () => {
|
renderCell: () => {
|
||||||
return (
|
return (
|
||||||
<Button size="small" color="secondary">
|
<Button size="small" color="secondary">
|
||||||
|
|||||||
Reference in New Issue
Block a user