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