UNPKG

styled-components

Version:
6 lines (5 loc) • 375 B
import { InsertionTarget } from '../types'; /** Create a style element inside `target` or <head> after the last */ export declare const makeStyleTag: (target?: InsertionTarget | undefined, nonce?: string | undefined) => HTMLStyleElement; /** Get the CSSStyleSheet instance for a given style element */ export declare const getSheet: (tag: HTMLStyleElement) => CSSStyleSheet;