ssbeefeater / react-typed

A react wrapper for typed.js
http://ssbeefeater.github.io/react-typed
MIT License
325 stars 35 forks source link

Update interface in TS #58

Closed laurentmmeyer closed 9 months ago

laurentmmeyer commented 1 year ago

AFAIK this TS interface doesn't cover if you add an element to wrap like in the readme:

  <Typed
                strings={[
                    'Search for products',
                    'Search for categories',
                    'Search for brands']}
                    typeSpeed={40}
                    backSpeed={50}
                    attr="placeholder"
                    loop >
                    <input type="text"/>
                </Typed>

That should fix it.