(isRecipes?: boolean)
| 61 | } |
| 62 | |
| 63 | const headingStyle = (isRecipes?: boolean) => [ |
| 64 | tw`relative mb-2 leading-10`, |
| 65 | isRecipes && tw`dark:text-purple-30 text-xl text-purple-50`, |
| 66 | !isRecipes && tw`text-link text-3xl`, |
| 67 | ] |
| 68 | |
| 69 | const StyledHeading2 = styled(H2)(({ isRecipes }: { isRecipes?: boolean }) => |
| 70 | headingStyle(isRecipes), |
no outgoing calls
no test coverage detected
searching dependent graphs…