Type Alias: KeyframesDefinition
type KeyframesDefinition = { [K in KeyframeSelector]?: CSSProperties } & {
[key: string]: CSSProperties | undefined;
};
Defined in: src/styles/decorators/keyframes.ts:227
Keyframes definition type Maps keyframe selectors to CSS properties
Examples
{
* '0%': { transform: 'rotate(0deg)' },
* '100%': { transform: 'rotate(360deg)' },
* }
{
* 'from': { opacity: 0 },
* 'to': { opacity: 1 },
* }