Skip to content

thumbnail prop is documented but missing from TypeScript props interface #7

@webimedia

Description

@webimedia

Issue Description

The README.md documents a thumbnail prop:

thumbnail (String): URL-encoded value of the poster/thumbnail URL to display. Defaults to the value set in asset details.

However, in src/index.tsx, the props interface (or type definition) for the GumletPlayer component does not include thumbnail. This causes TypeScript errors when trying to use it, and lacks autocomplete/intellisense support.

Expected Behavior

The thumbnail prop should be added to the component's PropTypes/TypeScript interface, e.g.:

interface GumletPlayerProps {
  // ... existing props
  thumbnail?: string;
}

Steps to Reproduce

  1. Install the package.
  2. In a TypeScript React file, use
  3. The player ignore the thumbnail attribute

Additional Info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions