Last active
September 15, 2022 18:09
-
-
Save newerton/10eb22155317e57d5e6d13d47e4b3548 to your computer and use it in GitHub Desktop.
Interface segregation principle (ISP)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Props = { | |
video: Video | |
} | |
const Thumbnail = ({ video }: Props) => { | |
return <img src={video.coverUrl} /> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment