UNPKG

389 BTypeScriptView Raw
1import StyleSheet from '../sheet';
2import { Keyframes as KeyframesType, Stringifier } from '../types';
3export default class Keyframes implements KeyframesType {
4 id: string;
5 name: string;
6 rules: string;
7 constructor(name: string, rules: string);
8 inject: (styleSheet: StyleSheet, stylisInstance?: Stringifier) => void;
9 getName(stylisInstance?: Stringifier): string;
10}