Fix Cards (they look ugly now, wtf Discord)

This commit is contained in:
Vendicated 2023-02-24 05:48:37 +01:00
parent 77c691651e
commit af4c7d8a90
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905

View File

@ -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"]);