From e2e394bd4d762d808756dc02bfb5caf51d39e2e2 Mon Sep 17 00:00:00 2001 From: Jose Quintas Date: Tue, 21 May 2024 18:44:34 +0200 Subject: [PATCH] Fix yarn proptypes vs pnpm proptypes --- packages/x-charts/src/BarChart/BarLabel/BarLabel.tsx | 2 +- packages/x-charts/src/BarChart/BarLabel/BarLabelItem.tsx | 2 +- packages/x-charts/src/BarChart/BarLabel/BarLabelPlot.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/x-charts/src/BarChart/BarLabel/BarLabel.tsx b/packages/x-charts/src/BarChart/BarLabel/BarLabel.tsx index 80aa8ba4dbb15..7b18ddf9568a0 100644 --- a/packages/x-charts/src/BarChart/BarLabel/BarLabel.tsx +++ b/packages/x-charts/src/BarChart/BarLabel/BarLabel.tsx @@ -40,7 +40,7 @@ function BarLabel(props: BarLabelProps) { BarLabel.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- classes: PropTypes.object, dataIndex: PropTypes.number.isRequired, diff --git a/packages/x-charts/src/BarChart/BarLabel/BarLabelItem.tsx b/packages/x-charts/src/BarChart/BarLabel/BarLabelItem.tsx index 6c8c2bcd945b0..af13a0c4f3585 100644 --- a/packages/x-charts/src/BarChart/BarLabel/BarLabelItem.tsx +++ b/packages/x-charts/src/BarChart/BarLabel/BarLabelItem.tsx @@ -129,7 +129,7 @@ function BarLabelItem(props: BarLabelItemProps) { BarLabelItem.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * If provided, the function will be used to format the label of the bar. diff --git a/packages/x-charts/src/BarChart/BarLabel/BarLabelPlot.tsx b/packages/x-charts/src/BarChart/BarLabel/BarLabelPlot.tsx index 21799a6da2279..afec45e13f3ea 100644 --- a/packages/x-charts/src/BarChart/BarLabel/BarLabelPlot.tsx +++ b/packages/x-charts/src/BarChart/BarLabel/BarLabelPlot.tsx @@ -69,7 +69,7 @@ function BarLabelPlot(props: BarLabelPlotProps) { BarLabelPlot.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- barLabel: PropTypes.oneOfType([PropTypes.oneOf(['value']), PropTypes.func]), bars: PropTypes.arrayOf(