Skip to content

Commit

Permalink
Added TIP chip to FriendsInvite Page
Browse files Browse the repository at this point in the history
  • Loading branch information
fdiazq committed Sep 29, 2024
1 parent cbf155f commit ecfe7a0
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import loadable from '@loadable/component';
import Chip from '@mui/material/Chip';
import withStyles from '@mui/styles/withStyles';
import PropTypes from 'prop-types';
import React, { Component, Suspense } from 'react';
Expand Down Expand Up @@ -178,6 +179,8 @@ class ChallengeInviteFriends extends Component {
<ContentOuterWrapperDefault>
<ContentInnerWrapperDefault>
<CampaignProcessStepIntroductionText>
<StyledChip label="TIP" />
&nbsp;
So we can correctly calculate your boost points,
{' '}
<strong>
Expand Down Expand Up @@ -227,4 +230,9 @@ const InvitedFriendsWrapper = styled('div')`
flex-direction: column;
`;

const StyledChip = styled(Chip)`
background-color: ${DesignTokenColors.confirmation700};
color: ${DesignTokenColors.whiteUI};
`;

export default withStyles(commonMuiStyles)(ChallengeInviteFriends);

0 comments on commit ecfe7a0

Please sign in to comment.