Skip to content

Commit

Permalink
chore(Sharing): Add props to spread to inner typography
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Dec 2, 2024
1 parent f12c2bb commit 07ddf96
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { useI18n } from 'cozy-ui/transpiled/react/providers/I18n'

import styles from '../../styles/recipient.styl'

const MemberRecipientStatus = ({ status, isMe, instance }) => {
const MemberRecipientStatus = ({ status, isMe, instance, typographyProps }) => {
const { t } = useI18n()

const isSendingEmail = !isMe && status === 'mail-not-sent'
Expand All @@ -37,7 +37,11 @@ const MemberRecipientStatus = ({ status, isMe, instance }) => {
<Icon icon={icon} size={10} />
</Img>
<Bd>
<Typography variant="caption" color="textSecondary">
<Typography
variant="caption"
color="textSecondary"
{...typographyProps}
>
{text}
</Typography>
</Bd>
Expand Down

0 comments on commit 07ddf96

Please sign in to comment.