Package Exports
- styletron-standard
- styletron-standard/dist-browser-cjs/index.js
- styletron-standard/dist-browser-esm/index.js
- styletron-standard/dist-node-cjs/index.js
- styletron-standard/dist-node-esm/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (styletron-standard) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
styletron-standard
Opinionated, standard interfaces for Styletron.
Check our documentation at styletron.org.
Installation
yarn add styletron-standard
API
Style object interface
import type { StyleObject } from "styletron-standard";
styletron-standard
defines a specific style object interface (along with corresponding Flow type definitions).
Engine interface
import type { StandardEngine } from "styletron-standard";
styletron-standard
also defines a standard engine interface.
interface StandardEngine {
renderStyle,
renderKeyframes,
renderFontFace,
};
Driver
import type { StandardEngine } from "styletron-standard";