Skip to content

Commit 6f12174

Browse files
committed
fix(ci): fix failing ci checks
1 parent 8feac50 commit 6f12174

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

packages/paste-core/components/product-switcher/__tests__/ProductSwitcher.spec.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import { act, render, screen } from "@testing-library/react";
22
import * as React from "react";
33

4-
import { CustomElementName, DefaultElementName, WithoutProductIcons } from "../stories/ProductSwitcher.customization.stories";
4+
import {
5+
CustomElementName,
6+
DefaultElementName,
7+
WithoutProductIcons
8+
} from "../stories/ProductSwitcher.customization.stories";
59
import { ProductSwitcherMenu } from "../stories/ProductSwitcher.stories";
610

711
describe("ProductSwitcher", () => {

packages/paste-core/components/product-switcher/type-docs.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2026,13 +2026,6 @@
20262026
"externalProp": true,
20272027
"description": "Moves focus to the previous item."
20282028
},
2029-
"productIcon": {
2030-
"type": "NonNullable<ReactNode>",
2031-
"defaultValue": "'PRODUCT_SWITCHER_ITEM'",
2032-
"required": true,
2033-
"externalProp": false,
2034-
"description": "Icon to use for the ProductSwitcherItem. Use a Paste Icon."
2035-
},
20362029
"productName": {
20372030
"type": "string",
20382031
"defaultValue": null,
@@ -3883,6 +3876,13 @@
38833876
"required": false,
38843877
"externalProp": true
38853878
},
3879+
"productIcon": {
3880+
"type": "string | number | bigint | boolean | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<...>",
3881+
"defaultValue": "'PRODUCT_SWITCHER_ITEM'",
3882+
"required": false,
3883+
"externalProp": false,
3884+
"description": "Icon to use for the ProductSwitcherItem. Use a Paste Icon."
3885+
},
38863886
"property": {
38873887
"type": "string",
38883888
"defaultValue": null,

0 commit comments

Comments
 (0)