chore: don't update the types

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-03-12 14:23:14 +01:00
parent ab185c688a
commit 27f88388bd
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -95,6 +95,10 @@ export type AvatarClassKey = 'avatar';
// @public
export interface AvatarProps {
classes?: {
[key in 'avatar' | 'avatarText']?: string;
};
// @deprecated
customStyles?: CSSProperties;
displayName?: string;
picture?: string;
@@ -21,7 +21,7 @@ import React, { CSSProperties } from 'react';
import { extractInitials, stringToColor } from './utils';
/** @public */
export type AvatarClassKey = 'avatar' | 'avatarText';
export type AvatarClassKey = 'avatar';
const useStyles = makeStyles(
(theme: Theme) => ({
@@ -62,7 +62,7 @@ export interface AvatarProps {
/**
* Custom styles applied to avatar
*/
classes?: { [key in AvatarClassKey]?: string };
classes?: { [key in 'avatar' | 'avatarText']?: string };
}
/**