typed-css-modules
typed-css-modules copied to clipboard
[FR] Include properties like @keyframes
I use this library to type the classes and ids of my CSS files within a Preact project.
Everything was great until in my component I had to check if a CSS animation had finished.
I am currently using the class name written as a conventional string, but I liked knowing that the CSS attributes I was using in my component actually existed in the style files.