import { NewsTileType } from '@utils/validationSchemas'; interface CardContentProps { story: NewsTileType; side: boolean; firstColor: string; secondColor: string; } export const TileContent = ({ story, side, firstColor, secondColor }: CardContentProps) => { const color = side ? firstColor : secondColor; return (
by {story.by}