coolant
Version:
The modular build radiator
5 lines (4 loc) • 409 B
TypeScript
import React from "react";
export declare const styled: <T>(tagName: string, styleProvider: (props: T) => React.CSSProperties) => (props: React.PropsWithChildren<T>) => React.ReactElement<{
style: React.CSSProperties;
}, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>;