Skip to content

Commit

Permalink
Merge pull request #183 from BouyguesTelecom/fix/columns
Browse files Browse the repository at this point in the history
Fix/columns
  • Loading branch information
JulienMora authored Nov 4, 2024
2 parents a6b8c3f + 4c3b826 commit 5d44b11
Show file tree
Hide file tree
Showing 37 changed files with 226 additions and 956 deletions.
4 changes: 2 additions & 2 deletions examples/react-template/screens/Box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
Title,
TitleLevels
} from '@trilogy-ds/react/components'
import {TrilogyColor, TypographyAlign} from '@trilogy-ds/react/objects'
import {TrilogyColor, TypographyAlign, VariantState} from '@trilogy-ds/react/objects'

export const BoxScreen = (): JSX.Element => {
const [active, setActive] = React.useState(false);
Expand Down Expand Up @@ -108,7 +108,7 @@ export const BoxScreen = (): JSX.Element => {
</Box>

<Box backgroundColor={TrilogyColor.MAIN_FADE}>
<BoxHeader>Box with Header and Content</BoxHeader>
<BoxHeader variant={"WARNING"}>Box with Header and Content</BoxHeader>
<BoxContent>
<Text>Background color is faded.</Text>
</BoxContent>
Expand Down
4 changes: 2 additions & 2 deletions examples/react-template/screens/Breadcrumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ export const BreadcrumScreen = (): JSX.Element => {
</Card>

<Text typo={[TypographyBold.TEXT_WEIGHT_SEMIBOLD]}>Breadcrumb in rows</Text>
<Container centered={true} verticalCentered={true}>
<Container >
<Rows>
<RowItem></RowItem>
<RowItem>
<Container centered verticalCentered>
<Container >
<Breadcrumb>
<BreadcrumbItem href='https://Home.fr'>Home</BreadcrumbItem>
<BreadcrumbItem to='#anchor'>Catalog</BreadcrumbItem>
Expand Down
Loading

0 comments on commit 5d44b11

Please sign in to comment.