I'm trying to use the package for a typescript/react timer - and I'm unable to use the <scramble-display/> element. TS/JSX gets mad at me because the element is lowercase which means that it should be an intrinsic element (which it isn't). An easy fix for this is to add the following namesapce:
I'm currently doing this myself - but it may be nice to have this in the package itself. The any type would ideally be replaced by the Element type, but I'm not sure if that typing is already there or not.
I'm trying to use the package for a typescript/react timer - and I'm unable to use the
<scramble-display/>
element. TS/JSX gets mad at me because the element is lowercase which means that it should be an intrinsic element (which it isn't). An easy fix for this is to add the following namesapce:I'm currently doing this myself - but it may be nice to have this in the package itself. The
any
type would ideally be replaced by the Element type, but I'm not sure if that typing is already there or not.