amis-rpc-design/node_modules/styled-components/dist/sheet/dom.d.ts
2023-10-07 19:42:30 +08:00

5 lines
299 B
TypeScript

/** Create a style element inside `target` or <head> after the last */
export declare const makeStyleTag: (target?: HTMLElement | undefined) => HTMLStyleElement;
/** Get the CSSStyleSheet instance for a given style element */
export declare const getSheet: (tag: HTMLStyleElement) => CSSStyleSheet;