UNPKG

styled-components

Version:

CSS for the <Component> Age. Style components your way with speed, strong typing, and flexibility.

17 lines (16 loc) 544 B
/// <reference types="node" /> import React from 'react'; import type * as streamInternal from 'stream'; import { Readable } from 'stream'; import StyleSheet from '../sheet'; export default class ServerStyleSheet { instance: StyleSheet; sealed: boolean; constructor(); _emitSheetCSS: () => string; collectStyles(children: any): React.JSX.Element; getStyleTags: () => string; getStyleElement: () => React.JSX.Element[]; interleaveWithNodeStream(input: Readable): streamInternal.Transform; seal: () => void; }