styled-components
Version:
CSS for the <Component> Age. Style components your way with speed, strong typing, and flexibility.
11 lines (10 loc) • 389 B
TypeScript
import StyleSheet from '../sheet';
import { Keyframes as KeyframesType, Stringifier } from '../types';
export default class Keyframes implements KeyframesType {
id: string;
name: string;
rules: string;
constructor(name: string, rules: string);
inject: (styleSheet: StyleSheet, stylisInstance?: Stringifier) => void;
getName(stylisInstance?: Stringifier): string;
}