Repository navigation
Commit e12b757
authored
fix(demo): use public GetProps type in Avatar demo (#59328)
The demo imported AvatarGroupProps from '../AvatarGroup'. AGENTS.md
forbids relative imports in demos, demo source is shown on the site for
copy-paste, and the type it reached for is marked deprecated in favour
of GetProps<typeof Avatar.Group>.1 parent 91a6d1d commit e12b757
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
0 commit comments