Skip to content

Commit ca6f967

Browse files
committed
[charts] Remove unused proptypes
1 parent fde224f commit ca6f967

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

packages/x-charts/src/ChartsLabel/ChartsLabelMark.tsx

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
'use client';
22
import * as React from 'react';
3-
import PropTypes from 'prop-types';
43
import clsx from 'clsx';
54
import { styled, useTheme, type SxProps, type Theme } from '@mui/material/styles';
65
import { symbol as d3Symbol, symbolsFill as d3SymbolsFill } from '@mui/x-charts-vendor/d3-shape';
@@ -164,24 +163,4 @@ const ChartsLabelMark = consumeThemeProps(
164163
},
165164
);
166165

167-
ChartsLabelMark.propTypes = {
168-
// ----------------------------- Warning --------------------------------
169-
// | These PropTypes are generated from the TypeScript type definitions |
170-
// | To update them edit the TypeScript types and run "pnpm proptypes" |
171-
// ----------------------------------------------------------------------
172-
/**
173-
* Override or extend the styles applied to the component.
174-
*/
175-
classes: PropTypes.object,
176-
/**
177-
* The color of the mark.
178-
*/
179-
color: PropTypes.string,
180-
/**
181-
* The type of the mark.
182-
* @default 'square'
183-
*/
184-
type: PropTypes.oneOf(['circle', 'line', 'square']),
185-
} as any;
186-
187166
export { ChartsLabelMark };

0 commit comments

Comments
 (0)