Currently the Button has a sharper edges for the border. The new button should have border radius 20px and black border
hover:
Pill label:
// PillLabel.tsx
const StyledPillLabelContainer = styled.div`
// use the same styling as PrimaryButton,
// but include a different background color
// and no hover style
background-color: ${({ theme, type }) => theme.color[type]};
`;
interface PillLabelProps {
type: 'primary' | 'secondary';
children: JSX.Element;
}
const PillLabel = ({ type, children }: PillLabelProps) => {
return (
<StyledPillLabelContainer type={type}>
{children}
</StyledPillLabelContainer>
);
}
Currently the Button has a sharper edges for the border. The new button should have border radius 20px and black border
hover:
Pill label:
to use it: Primary
Secondary