Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.16 KB

File metadata and controls

35 lines (24 loc) · 1.16 KB

Movie and Genre Display Component

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.

Project Structure

  • 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.

Installation

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

Layouts

home login movies