Closed
Description
Is your feature request related to a problem? Please describe.
Hey just wondering if you support keyframes as they're transformed by css-modules too.
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
import React from 'react';
import styles from './MyComp.module.css';
const MyComp: React.FC = () => {
return (
// Error here \/\/\/\/
<div style={{animation: `3s linear 1s infinite running ${styles.fadeIn}`}} />
);
}
Describe the solution you'd like
Support keyframe syntax
Describe alternatives you've considered
// ts-ignore
?
or:
import React from 'react';
import styles from './MyComp.module.css';
const MyComp: React.FC = () => {
return (
<div style={{animation: `3s linear 1s infinite running ${(styles as any).fadeIn}`}} />
);
}
Metadata
Metadata
Assignees
Labels
No labels