( cssObject: StyleObject | FontFaceObject | KeyframesObject, )
| 12 | } from "styletron-standard"; |
| 13 | |
| 14 | export function hashCssObject( |
| 15 | cssObject: StyleObject | FontFaceObject | KeyframesObject, |
| 16 | ): string { |
| 17 | return generateAlphabeticName(hash(JSON.stringify(cssObject))); |
| 18 | } |
| 19 | |
| 20 | export function keyframesToBlock(keyframes: {[x: string]: any}): string { |
| 21 | if (__DEV__) { |
no test coverage detected