diff options
Diffstat (limited to 'src/webpack/common/components.ts')
-rw-r--r-- | src/webpack/common/components.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpack/common/components.ts b/src/webpack/common/components.ts index 27d103f..0c02971 100644 --- a/src/webpack/common/components.ts +++ b/src/webpack/common/components.ts @@ -32,7 +32,7 @@ export const Forms = { FormText: waitForComponent<t.FormText>("FormText", m => m.Types?.INPUT_PLACEHOLDER), }; -export const Card = waitForComponent<t.Card>("Card", m => m.Types?.PRIMARY === "cardPrimary"); +export const Card = waitForComponent<t.Card>("Card", m => m.Types?.PRIMARY && m.defaultProps); export const Button = waitForComponent<t.Button>("Button", ["Hovers", "Looks", "Sizes"]); export const Switch = waitForComponent<t.Switch>("Switch", filters.byCode("tooltipNote", "ringTarget")); export const Tooltip = waitForComponent<t.Tooltip>("Tooltip", ["Positions", "Colors"]); |