styled-components
Version:
CSS for the <Component> Age. Style components your way with speed, strong typing, and flexibility.
5 lines (4 loc) • 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;