Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing MarqueeProps #7

Open
januarsmad opened this issue Aug 18, 2020 · 5 comments
Open

Missing MarqueeProps #7

januarsmad opened this issue Aug 18, 2020 · 5 comments

Comments

@januarsmad
Copy link

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; }'.
@mxmzb
Copy link
Owner

mxmzb commented Aug 20, 2020

Hi, can you create a repo with your code for me to reproduce?

@jonrrivera
Copy link

any updates on this ?

@adamjw3
Copy link

adamjw3 commented Jan 25, 2022

I'm also having this issue in next js using typescript, any fix?

@matine
Copy link

matine commented Jul 4, 2022

Same

@piersolenski
Copy link

+1 🫠

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants