Skip to content

Commit

Permalink
small fixed based on reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
dhavalveera committed Mar 31, 2024
1 parent c5775eb commit c2eff4d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/web/content/docs/components/skeleton.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: React Skeleton - Flowbite
description: The skeleton component can be used as an alternative loading indicator to the spinner by mimicking the content that will be loaded such as text, images, or video
---

Use the skeleton component to indicate a loading status with placeholder elements that look very similar to the type of content that is being loaded such as paragraphs, heading, images, videos, and more.
Use the skeleton component to indicate a loading status with placeholder elements that look very similar to the type of content that is being loaded such as paragraphs, headings, images, videos, and more.

You can set the width and height of these skeleton components based on the size of the content and element that it is being loaded in, such as a card or an article page.

Expand Down
4 changes: 2 additions & 2 deletions apps/web/examples/skeleton/skeleton.card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { SkeletonCard } from "flowbite-react";
import type { CodeData } from "~/components/code-demo";

const code = `
'use client';
"use client";

import { Skeleton } from "flowbite-react";

function Component() {
return (
<div>
<Skeleton.Card />
<SkeletonCard />
</div>
)
}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/examples/skeleton/skeleton.circular.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Skeleton } from "flowbite-react";
import type { CodeData } from "~/components/code-demo";

const code = `
'use client';
"use client";

import { Skeleton } from "flowbite-react";

Expand Down
2 changes: 1 addition & 1 deletion apps/web/examples/skeleton/skeleton.image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { SkeletonImage } from "flowbite-react";
import type { CodeData } from "~/components/code-demo";

const code = `
'use client';
"use client";

import { Skeleton } from "flowbite-react";

Expand Down
4 changes: 2 additions & 2 deletions apps/web/examples/skeleton/skeleton.list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { SkeletonList } from "flowbite-react";
import type { CodeData } from "~/components/code-demo";

const code = `
'use client';
"use client";

import { Skeleton } from "flowbite-react";

function Component() {
return (
<div>
<Skeleton.List />
<SkeletonList />
</div>
)
}
Expand Down

0 comments on commit c2eff4d

Please sign in to comment.