AccueilComponentsTypography

Typography

La Typography doit être utilisé pour contenir tous les textes. Composant de type Text (tamagui).
core
TypographyDefault
Contenu par défauttsx
export const TypographyDefault = () => <Typography>Contenu par défaut</Typography>;
TypographyPaddedWithColor
Texte avec padding et couleurtsx
export const TypographyPaddedWithColor = () => (
<Typography p={8} color={'blue'}>
Texte avec padding et couleur
</Typography>
);
TypographyStyleItalic
Texte en italiquetsx
export const TypographyStyleItalic = () => <Typography fontStyle="italic">Texte en italique</Typography>;
TypographyStyleUnderline
Texte en soulignétsx
export const TypographyStyleUnderline = () => <Typography textDecorationLine="underline">Texte en souligné</Typography>;
TypographyStyleLineThrough
Texte barrétsx
export const TypographyStyleLineThrough = () => <Typography textDecorationLine="line-through">Texte barré</Typography>;
TypographyTransformCapitalize
avec une majusculetsx
export const TypographyTransformCapitalize = () => (
<Typography textTransform="capitalize">avec une majuscule</Typography>
);
TypographyTransformUppercase
En majusculetsx
export const TypographyTransformUppercase = () => <Typography textTransform="uppercase">En majuscule</Typography>;
TypographyAligneeADroite
Texte aligné à droitetsx
export const TypographyAligneeADroite = () => (
<Typography tag="typography-alignee-a-droite" style={{ textAlign: 'right' }}>
Texte aligné à droite
</Typography>
);
Alveole UI Kit — v2.0.0-alpha.30