Skip to content

Commit

Permalink
Update generated/components.json
Browse files Browse the repository at this point in the history
  • Loading branch information
radglob authored and github-actions[bot] committed Apr 5, 2023
1 parent c81216c commit d8242e4
Showing 1 changed file with 50 additions and 45 deletions.
95 changes: 50 additions & 45 deletions generated/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,51 +97,6 @@
}
]
},
"filter_list": {
"id": "filter_list",
"name": "FilterList",
"status": "alpha",
"a11yReviewed": false,
"stories": [],
"props": [
{
"name": "sx",
"type": "SystemStyleObject"
}
],
"subcomponents": [
{
"name": "FilterList.Item",
"props": [
{
"name": "count",
"type": "number",
"description": "Number to be displayed in the list item"
},
{
"name": "selected",
"type": "boolean",
"description": "Whether the list item is selected or not"
},
{
"name": "small",
"type": "boolean",
"defaultValue": "false",
"description": "Whether the list item is small or not"
},
{
"name": "as",
"type": "React.ElementType",
"defaultValue": "'a'"
},
{
"name": "sx",
"type": "SystemStyleObject"
}
]
}
]
},
"filtered_search": {
"id": "filtered_search",
"name": "FilteredSearch",
Expand Down Expand Up @@ -2055,6 +2010,56 @@
],
"subcomponents": []
},
"filter_list": {
"id": "filter_list",
"name": "FilterList",
"status": "alpha",
"a11yReviewed": false,
"stories": [
{
"id": "components-filterlist--default",
"code": "() => {\n const [selectedIndex, setSelectedIndex] = useState(0)\n return (\n <FilterList>\n <FilterList.Item\n selected={selectedIndex === 0}\n onClick={() => setSelectedIndex(0)}\n count={32}\n >\n First Filter\n </FilterList.Item>\n <FilterList.Item\n selected={selectedIndex === 1}\n onClick={() => setSelectedIndex(1)}\n count={16}\n >\n Second Filter\n </FilterList.Item>\n <FilterList.Item\n selected={selectedIndex === 2}\n onClick={() => setSelectedIndex(2)}\n >\n Third Filter\n </FilterList.Item>\n </FilterList>\n )\n}"
}
],
"props": [
{
"name": "sx",
"type": "SystemStyleObject"
}
],
"subcomponents": [
{
"name": "FilterList.Item",
"props": [
{
"name": "count",
"type": "number",
"description": "Number to be displayed in the list item"
},
{
"name": "selected",
"type": "boolean",
"description": "Whether the list item is selected or not"
},
{
"name": "small",
"type": "boolean",
"defaultValue": "false",
"description": "Whether the list item is small or not"
},
{
"name": "as",
"type": "React.ElementType",
"defaultValue": "'a'"
},
{
"name": "sx",
"type": "SystemStyleObject"
}
]
}
]
},
"flash": {
"id": "flash",
"name": "Flash",
Expand Down

0 comments on commit d8242e4

Please sign in to comment.