Skip to content

Commit

Permalink
Adjust examples of Loader (#3418)
Browse files Browse the repository at this point in the history
  • Loading branch information
HalvorHaugan authored Nov 29, 2024
1 parent dce149f commit 8c9b2e2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ export const Demo = {

export const args = {
index: 1,
desc: "Interaction-varianten er ment for interaktive elementer.",
};
1 change: 1 addition & 0 deletions aksel.nav.no/website/pages/eksempler/loader/inverted.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ export default withDsExample(Example, { background: "inverted" });

export const args = {
index: 2,
desc: "Inverted-varianten passer bedre på mørkere flater.",
};
1 change: 1 addition & 0 deletions aksel.nav.no/website/pages/eksempler/loader/neutral.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ export const Demo = {

export const args = {
index: 0,
desc: "Neutral-varianten blir ofte brukt for innholdslasting.",
};
2 changes: 1 addition & 1 deletion aksel.nav.no/website/pages/eksempler/loader/size.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { withDsExample } from "@/web/examples/withDsExample";

const Example = () => {
return (
<HStack gap="18">
<HStack gap="16">
<Loader size="3xlarge" title="Venter..." />
<Loader size="2xlarge" title="Venter..." />
<Loader size="xlarge" title="Venter..." />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ export default withDsExample(Example);

export const args = {
index: 3,
desc: "Prop-en 'transparent' fjerner bakgrunnselementet på Loader.",
desc: "Prop-en `transparent` skjuler bakgrunnselementet på Loader.",
};

0 comments on commit 8c9b2e2

Please sign in to comment.