Preview: dom.d.ts
Size: 523 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/styled-components/dist/sheet/dom.d.ts
import { InsertionTarget } from '../types';
/** Create a style element inside `target` or <head> after the last */
export declare const makeStyleTag: (target?: InsertionTarget | undefined) => HTMLStyleElement;
/** Get the CSSStyleSheet instance for a given style element */
export declare const getSheet: (tag: HTMLStyleElement) => CSSStyleSheet;
/** Remove a GlobalStyle's SSR-rendered inline style tag(s) from the DOM */
export declare const removeGlobalStyleTag: (componentId: string, target?: InsertionTarget) => void;
Directory Contents
Dirs: 0 × Files: 8