Skip to content

Missing MarqueeProps #7

Description

@januarsmad

Hi, thank you for creating this amazing module.

I tried to use it, but the problem is children props is missing:

Type '{ children: Element[]; velocity: number; }' is missing the following properties from type 'MarqueeProps': direction, scatterRandomly, resetAfterTries, onInit, onFinishts(2739)

and this is the example code i copied:

<Marquee velocity={10}>
     {times(5, Number).map((id) => (
          <div className='box'>
                {id}
          </div>
    ))}
</Marquee>

also when i'm passing minScale it also returns this errors:

Property 'minScale' does not exist on type 'IntrinsicAttributes & MarqueeProps & { children?: ReactNode; }'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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