Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AvatarGroup] Add spacing prop #19761

Merged
merged 8 commits into from
Feb 19, 2020
Prev Previous commit
Next Next commit
Fix typescript vs javascript differences
GFynbo committed Feb 18, 2020
commit e15f32ee4a83bab600252ff7368b047b5df08dd8
7 changes: 2 additions & 5 deletions packages/material-ui-lab/src/AvatarGroup/AvatarGroup.js
Original file line number Diff line number Diff line change
@@ -69,12 +69,9 @@ AvatarGroup.propTypes = {
*/
classes: PropTypes.object,
/**
* Defines the space between the type `avatar` component.
* Spacing between avatars.
*/
spacing: PropTypes.oneOfType([
PropTypes.string,
PropTypes.number,
]),
spacing: PropTypes.oneOfType([PropTypes.oneOf(['large', 'medium', 'small']), PropTypes.number]),
/**
* @ignore
*/