Skip to content

Commit

Permalink
[Card][Joy] Fix wrong api description for size prop (mui#33862)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj authored and Daniel Rabe committed Nov 29, 2022
1 parent 1c34d33 commit 177ac79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Card/Card.tsx
Expand Up @@ -167,7 +167,7 @@ Card.propTypes /* remove-proptypes */ = {
row: PropTypes.bool,
/**
* The size of the component.
* It accepts theme values between 'xs' and 'xl'.
* It accepts theme values between 'sm' and 'lg'.
* @default 'md'
*/
size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-joy/src/Card/CardProps.ts
Expand Up @@ -27,7 +27,7 @@ export interface CardTypeMap<P = {}, D extends React.ElementType = 'div'> {
row?: boolean;
/**
* The size of the component.
* It accepts theme values between 'xs' and 'xl'.
* It accepts theme values between 'sm' and 'lg'.
* @default 'md'
*/
size?: OverridableStringUnion<'sm' | 'md' | 'lg', CardPropsSizeOverrides>;
Expand Down

0 comments on commit 177ac79

Please sign in to comment.