styletron-react-lite
Version:
A lightweight styletron binding for React.
8 lines (7 loc) • 303 B
TypeScript
import { ReactChild } from "react";
import { StandardEngine } from "styletron-standard";
declare type StyletronConsumerProps = {
children: (engine: StandardEngine) => ReactChild | null;
};
declare function StyletronConsumer(props: StyletronConsumerProps): JSX.Element;
export { StyletronConsumer };