[avatar] Remove deprecated props by silviuaavram · Pull Request #47966 · mui/material-ui (original) (raw)
packages/mui-material/src/Avatar/utils/useLoaded.ts
New file: extracted and improved useLoaded hook with TypeScript types
packages/mui-material/src/Avatar/Avatar.js
Removed imgProps prop, inline useLoaded, imported new hook
packages/mui-material/src/Avatar/Avatar.d.ts
Removed imgProps from type definitions
packages/mui-material/src/Avatar/Avatar.test.js
Removed one imgProps test (but missed another)
packages/mui-material/src/Avatar/Avatar.spec.tsx
Removed imgProps type spec test
docs/src/modules/components/MaterialUIExampleCollection.js
Migrated imgProps to slotProps.img
docs/src/components/about/Team.tsx
Migrated imgProps to slotProps.img
docs/translations/api-docs/avatar/avatar.json
Removed imgProps translation
docs/pages/material-ui/api/avatar.json
Removed imgProps from API page
docs/data/material/migration/upgrade-to-v9/upgrade-to-v9.md
Added migration guide for imgProps removal