Skip to content

Commit

Permalink
docs(Skeleton): fix complex example (#2657)
Browse files Browse the repository at this point in the history
  • Loading branch information
rivka-ungar authored Dec 17, 2024
1 parent 87afb2d commit 13cb297
Showing 1 changed file with 20 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,27 +38,29 @@ export const Overview = {
}
};

export const ComplexExample = () => {
return (
<div className="monday-storybook-skeleton_rules-column">
<div className="monday-storybook-skeleton_rules-row">
<Skeleton type="circle" />
<Skeleton type="text" width={110} size="small" />
</div>
<div className="monday-storybook-skeleton_article">
<div>
<Skeleton />
export const ComplexExample = {
render: () => {
return (
<div className="monday-storybook-skeleton_rules-column">
<div className="monday-storybook-skeleton_rules-row">
<Skeleton type="circle" />
<Skeleton type="text" width={110} size="small" />
</div>
<div className="monday-storybook-skeleton_aside">
<Skeleton type="text" size="h1" />
<Skeleton type="text" size="h4" />
<Skeleton type="text" size="h4" />
<Skeleton type="text" size="h4" />
<Skeleton type="text" size="h4" width={82} />
<div className="monday-storybook-skeleton_article">
<div>
<Skeleton />
</div>
<div className="monday-storybook-skeleton_aside">
<Skeleton type="text" size="h1" />
<Skeleton type="text" size="h4" />
<Skeleton type="text" size="h4" />
<Skeleton type="text" size="h4" />
<Skeleton type="text" size="h4" width={82} />
</div>
</div>
</div>
</div>
);
);
}
};

export const Shapes = {
Expand Down

0 comments on commit 13cb297

Please sign in to comment.