Skip to content

Props not working #1

@romexblue

Description

@romexblue

Hi, first of all, thanks for this library—it's really useful!

I ran into an issue where the props don’t seem to be working as expected. When I try to pass a color prop like this:

<RemixTopLoader color="#FFB200" />

I get the following TypeScript error:

Type '{ color: string; }' is not assignable to type 'IntrinsicAttributes'. Property 'color' does not exist on type 'IntrinsicAttributes'.ts(2322)

It also looks like the types are not being exported, which makes it difficult to use in a TypeScript project.
Would love to know if this is an expected limitation or if there's a fix for this. Let me know if I can provide more details—thanks again!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions