UNPKG

jsx-email

Version:

Render JSX email components to HTML email

14 lines 605 B
/** * Note: Parts of this file are derived from [Hyperons](https://github.com/i-like-robots/hyperons). * @license MIT */ import type { CSSProperties } from 'react'; /** * Converts a React style object to a string. * This is based on Hyperon's * [`stringifyStyles`](https://github.com/i-like-robots/hyperons/blob/main/src/stringify-styles.js). * @param styles The styles to stringify. * @returns A string representation of the styles, suitable for use in a `style` attribute. */ export declare function stringifyStyles(styles: CSSProperties): string; //# sourceMappingURL=stringify-styles.d.ts.map