Added beta tag in email (#4098)

#4040 added beta tag
This commit is contained in:
Jeet Desai
2024-02-21 21:39:36 +05:30
committed by GitHub
parent 161d02620a
commit 15510c9fbe
9 changed files with 26 additions and 18 deletions

View File

@ -3,7 +3,7 @@ import { css, useTheme } from '@emotion/react';
import styled from '@emotion/styled';
import { IconComponent } from '@/ui/display/icon/types/IconComponent';
import { SoonPill } from '@/ui/display/pill/components/SoonPill';
import { Pill } from '@/ui/display/pill/components/Pill';
export type ButtonSize = 'medium' | 'small';
export type ButtonPosition = 'standalone' | 'left' | 'middle' | 'right';
@ -251,7 +251,7 @@ const StyledButton = styled.button<
}
`;
const StyledSoonPill = styled(SoonPill)`
const StyledSoonPill = styled(Pill)`
margin-left: auto;
`;
@ -285,7 +285,7 @@ export const Button = ({
>
{Icon && <Icon size={theme.icon.size.sm} />}
{title}
{soon && <StyledSoonPill />}
{soon && <StyledSoonPill label="Soon" />}
</StyledButton>
);
};