Skip to content

Commit

Permalink
fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
JCQuintas committed Nov 7, 2024
1 parent 0efc86e commit dc6d139
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions packages/x-codemod/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,10 @@ The list includes these transformers
Renames legend props to the corresponding slotProps.

```diff

<LineChart
<LineChart
- legend={{ hiden: true}}
+ slotProps={{ legend: { hiden: true} }}
/>
/>
```

#### `rename-responsive-chart-container`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ChartContainer } from '@mui/x-charts/ChartContainer';
tooltip: { trigger: 'axis' },
legend: { hidden: true }
}} />
<ChartContainer>
<BarPlot />
</ChartContainer>
<ChartContainer>
<BarPlot />
</ChartContainer>
</div>;

0 comments on commit dc6d139

Please sign in to comment.