({
isList,
isFeedLayoutList,
}: {
isList: boolean;
isFeedLayoutList: boolean;
})
| 81 | * Returns the appropriate gap class based on layout mode. |
| 82 | */ |
| 83 | export const gapClass = ({ |
| 84 | isList, |
| 85 | isFeedLayoutList, |
| 86 | }: { |
| 87 | isList: boolean; |
| 88 | isFeedLayoutList: boolean; |
| 89 | }): string => { |
| 90 | if (isFeedLayoutList) { |
| 91 | return ''; |
| 92 | } |
| 93 | return isList ? listGapClass : gridGapClass; |
| 94 | }; |
| 95 | |
| 96 | const cardClass = ({ |
| 97 | isList, |
no outgoing calls
no test coverage detected