Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion packages/react/src/CounterLabel/CounterLabel.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,18 @@
],
"importPath": "@primer/react",
"props": [
{
"name": "variant",
"type": "'primary' | 'secondary'",
"defaultValue": "",
"description": "Pass in 'primary' for a darker background and inverse text, or 'secondary' for a lighter background and primary text. Omitting the variant prop renders the default counter scheme"
},
Comment thread
siddharthkp marked this conversation as resolved.
{
"name": "scheme",
"type": "'primary' | 'secondary'",
"defaultValue": "",
"description": "Pass in 'primary' for a darker background and inverse text, or 'secondary' for a lighter background and primary text. Omitting the scheme prop renders the default counter scheme"
"description": "Use `variant` instead.",
"deprecated": true
Comment thread
siddharthkp marked this conversation as resolved.
},
{
"name": "className",
Expand Down
9 changes: 8 additions & 1 deletion packages/react/src/StateLabel/StateLabel.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,17 @@
],
"importPath": "@primer/react",
"props": [
{
"name": "size",
"type": "'small' | 'medium'",
"defaultValue": "'medium'"
},
{
"name": "variant",
"type": "'small' | 'normal'",
"defaultValue": "'normal'"
"defaultValue": "'normal'",
"description": "Use `size` instead.",
Comment thread
siddharthkp marked this conversation as resolved.
"deprecated": true
},
{
"name": "status",
Expand Down
Loading