react-marquee-slider
react-marquee-slider copied to clipboard
Missing MarqueeProps
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; }'.
Hi, can you create a repo with your code for me to reproduce?
any updates on this ?
I'm also having this issue in next js using typescript, any fix?
Same
+1 🫠