Add tests on top of ui/buttons, ui/links and ui/inputs (#342)

This commit is contained in:
Charles Bochet
2023-06-21 03:47:00 +02:00
committed by GitHub
parent e2eb40c1ea
commit e2d8c3a2ec
14 changed files with 284 additions and 61 deletions

View File

@ -45,19 +45,17 @@ export function Index() {
<Logo />
<Title title="Welcome to Twenty" />
<StyledContentContainer>
<PrimaryButton
fullWidth={true}
label="Continue With Google"
icon={<IconBrandGoogle size={theme.iconSizeSmall} stroke={4} />}
onClick={onGoogleLoginClick}
/>
<PrimaryButton fullWidth={true} onClick={onGoogleLoginClick}>
<IconBrandGoogle size={theme.iconSizeSmall} stroke={4} />
Continue With Google
</PrimaryButton>
<HorizontalSeparator />
<TextInput
initialValue=""
onChange={(value) => console.log(value)}
fullWidth={true}
/>
<SecondaryButton label="Continue" fullWidth={true} />
<SecondaryButton fullWidth={true}>Continue</SecondaryButton>
</StyledContentContainer>
<FooterNote>
By using Twenty, you agree to the Terms of Service and Data Processing