diff --git a/components/user/user.tsx b/components/user/user.tsx index fef9f47..5ad9e43 100644 --- a/components/user/user.tsx +++ b/components/user/user.tsx @@ -8,6 +8,7 @@ interface Props { src?: string text?: string className?: string + altText?: string } const defaultProps = { @@ -23,13 +24,14 @@ const User: React.FC> = ({ name, children, className, + altText, ...props }) => { const theme = useTheme() return (
- +
{name} {children}