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