This React component renders details about a movie, including genres and actors, with an optional tooltip showing additional information like awards and a poster image.
components/Genre.tsx
- Main component for displaying movie genres and actors.hoc/withTooltip.tsx
- Higher-order component to wrap components with tooltip functionality.types/MovieType.ts
- TypeScript type definitions for the Movie data structure.
To use this component, ensure you have:
- Node.js installed
- npm or yarn for package management
Clone this repository and install dependencies:
git clone [your-repository-url]
cd [repository-name]
npm install
# or
yarn install


