UNPKG

styled-components

Version:

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

15 lines (14 loc) 515 B
import React from 'react'; import { type PipeableStream } from 'react-dom/server'; 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: NodeJS.ReadableStream | PipeableStream): NodeJS.ReadWriteStream; seal: () => void; }