Skip to content

Commit

Permalink
Merge pull request #228 from syedszeeshan/SZ-2097-docs
Browse files Browse the repository at this point in the history
fix(#2097): docs skeleton props update for Angular and React
  • Loading branch information
ArakTaiRoth authored Sep 20, 2024
2 parents a09678d + a9532c0 commit 0243f10
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions src/routes/components/Skeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,35 @@ export default function SkeletonPage() {
defaultValue: "1",
},
{
name: "Line Count",
name: "linecount",
type: "number",
description:
"Used within components that contain multiple lines. Currently only used in card skeleton type",
defaultValue: "3",
lang: "angular",
},
{
name: "Max Width",
name: "maxwidth",
type: "string",
description: "Set component maximum width. Currently only used in card skeleton type",
defaultValue: "320px",
lang: "angular",
},
{
name: "lineCount",
type: "number",
description:
"Used within components that contain multiple lines. Currently only used in card skeleton type",
defaultValue: "3",
lang: "react",
},
{
name: "maxWidth",
type: "string",
description: "Set component maximum width. Currently only used in card skeleton type",
defaultValue: "320px",
lang: "react",
},
];

function onSandboxChange(bindings: ComponentBinding[], props: Record<string, unknown>): void {
Expand Down

0 comments on commit 0243f10

Please sign in to comment.