Skip to content

Commit 32f8b39

Browse files
only keep small
1 parent 0ce81e0 commit 32f8b39

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

docs/pages/api/avatar-group.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can learn more about the difference by [reading this guide](/guides/minimizi
2626
|:-----|:-----|:--------|:------------|
2727
| <span class="prop-name">children</span> | <span class="prop-type">node</span> | | The avatars to stack. |
2828
| <span class="prop-name">classes</span> | <span class="prop-type">object</span> | | Override or extend the styles applied to the component. See [CSS API](#css) below for more details. |
29-
| <span class="prop-name">spacing</span> | <span class="prop-type">'large'<br>&#124;&nbsp;'medium'<br>&#124;&nbsp;'small'<br>&#124;&nbsp;number</span> | <span class="prop-default">'medium'</span> | Spacing between avatars. |
29+
| <span class="prop-name">spacing</span> | <span class="prop-type">'medium'<br>&#124;&nbsp;'small'<br>&#124;&nbsp;number</span> | <span class="prop-default">'medium'</span> | Spacing between avatars. |
3030

3131
The `ref` is forwarded to the root element.
3232

packages/material-ui-lab/src/AvatarGroup/AvatarGroup.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export interface AvatarGroupProps
1010
/**
1111
* Spacing between avatars.
1212
*/
13-
spacing?: 'small' | 'medium' | 'large' | number;
13+
spacing?: 'small' | 'medium' | number;
1414
}
1515

1616
export type AvatarGroupClassKey = 'root' | 'avatar';

packages/material-ui-lab/src/AvatarGroup/AvatarGroup.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import clsx from 'clsx';
55
import { withStyles } from '@material-ui/core/styles';
66

77
const SPACINGS = {
8-
large: -4,
98
small: -16,
109
};
1110

@@ -76,7 +75,7 @@ AvatarGroup.propTypes = {
7675
/**
7776
* Spacing between avatars.
7877
*/
79-
spacing: PropTypes.oneOfType([PropTypes.oneOf(['large', 'medium', 'small']), PropTypes.number]),
78+
spacing: PropTypes.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.number]),
8079
};
8180

8281
export default withStyles(styles, { name: 'MuiAvatarGroup' })(AvatarGroup);

0 commit comments

Comments
 (0)