Skip to content

Commit

Permalink
fixup! Feat(web-react): Introduce Card component #1535
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelklibani committed Nov 21, 2024
1 parent 81cb211 commit 757f388
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export default {
contentText: {
control: 'text',
description: 'Text for the user content.',
name: 'show content text',
table: {
category: 'CardBody',
subcategory: 'Demo settings',
Expand All @@ -75,6 +76,7 @@ export default {
eyebrowText: {
control: 'text',
description: 'Text for the CardEyebrow component.',
name: 'children',
table: {
category: 'CardEyebrow',
defaultValue: { summary: '' },
Expand All @@ -91,6 +93,7 @@ export default {
image: {
control: 'text',
description: 'Image source for the CardMedia image.',
name: 'image url',
table: {
category: 'CardMedia',
subcategory: 'Demo settings',
Expand Down Expand Up @@ -123,12 +126,14 @@ export default {
},
numCards: {
control: 'select',
name: 'number of cards',
description: 'Number of cards to display.',
options: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
},
showFooter: {
control: 'boolean',
description: 'Show the CardFooter component.',
name: 'show footer',
table: {
category: 'CardFooter',
subcategory: 'Demo settings',
Expand All @@ -138,6 +143,7 @@ export default {
showContent: {
control: 'boolean',
description: 'Show the user content component.',
name: 'show card content',
table: {
category: 'CardBody',
subcategory: 'Demo settings',
Expand All @@ -147,6 +153,7 @@ export default {
showEyebrow: {
control: 'boolean',
description: 'Show the CardEyebrow component.',
name: 'show eyebrow',
table: {
category: 'CardEyebrow',
subcategory: 'Demo settings',
Expand All @@ -156,6 +163,7 @@ export default {
showMedia: {
control: 'boolean',
description: 'Show the CardMedia component.',
name: 'show media',
table: {
category: 'CardMedia',
subcategory: 'Demo settings',
Expand All @@ -165,6 +173,7 @@ export default {
showTitle: {
control: 'boolean',
description: 'Show the CardTitle component.',
name: 'show title',
table: {
category: 'CardTitle',
subcategory: 'Demo settings',
Expand Down Expand Up @@ -192,15 +201,16 @@ export default {
titleText: {
control: 'text',
description: 'Text for the CardTitle component.',
name: 'children',
table: {
category: 'CardTitle',
subcategory: 'Demo settings',
defaultValue: { summary: '' },
},
},
titleWithLink: {
control: 'boolean',
description: 'Add a link to the CardTitle component.',
name: 'title as link',
table: {
category: 'CardTitle',
subcategory: 'Demo settings',
Expand Down

0 comments on commit 757f388

Please sign in to comment.