styled-components
Version:
Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress
12 lines (11 loc) • 415 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;
toString: () => void;
getName(stylisInstance?: Stringifier): string;
}