Require badge props in <Avatar>
to ensure no missing spots
This commit is contained in:
parent
7affe313f0
commit
e030b3d18c
20 changed files with 94 additions and 46 deletions
|
@ -8,10 +8,11 @@ import type { Props as AvatarProps } from './Avatar';
|
|||
import { Avatar } from './Avatar';
|
||||
import { useRestoreFocus } from '../hooks/useRestoreFocus';
|
||||
|
||||
import type { LocalizerType } from '../types/Util';
|
||||
import type { LocalizerType, ThemeType } from '../types/Util';
|
||||
|
||||
export type Props = {
|
||||
readonly i18n: LocalizerType;
|
||||
readonly theme: ThemeType;
|
||||
|
||||
hasPendingUpdate: boolean;
|
||||
startUpdate: () => unknown;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue