Preview: Rehydration.d.ts
Size: 552 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/styled-components/native/dist/sheet/Rehydration.d.ts
import { InsertionTarget } from '../types';
import { Sheet } from './types';
/**
* Extract the container (Document or ShadowRoot) from an InsertionTarget.
* If the target is a ShadowRoot, return it directly.
* If the target is an HTMLElement, return its root node if it's a ShadowRoot, otherwise return document.
*/
export declare const getRehydrationContainer: (target?: InsertionTarget | undefined) => Document | ShadowRoot;
export declare const outputSheet: (sheet: Sheet) => string;
export declare const rehydrateSheet: (sheet: Sheet) => void;
Directory Contents
Dirs: 0 × Files: 8