Template:Card: Difference between revisions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
}, | }, | ||
"variant": { | "variant": { | ||
"description": "The style variant of the | "description": "The style variant of the card (e.g., warning, success, info, danger).", | ||
"type": "string" | "type": "string" | ||
} | } | ||
| Line 21: | Line 21: | ||
</noinclude> | </noinclude> | ||
{{#tag:react|{{{content}}}|component=Card|variant={{{variant|info}}}|content={{{content}}}}} | {{#tag:react|{{{content}}}|component=Card|variant={{{variant|info}}}|content={{{content}}}}} | ||
{{#tag:react|{{{content}}}|component=Card|variant={{{variant|info}}}}} | |||
Revision as of 20:56, 8 May 2026
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| content | content | The text to display inside the card. | String | required |
| variant | variant | The style variant of the card (e.g., warning, success, info, danger). | String | optional |