Repository URL to install this package:
Version:
1.2.12 ▾
|
// @flow
import { ComponentType } from 'react'
export type _Interpolation =
| ((executionContext: Object) => Interpolation)
| string
| number
export type Interpolation = _Interpolation | _Interpolation[]
export type RuleSet = Array<Interpolation>
export type Styles = Array<string> | Object
/* eslint-disable no-undef */
export type Target = string | ComponentType<any>
export type NameGenerator = (hash: number) => string
export type Flattener = (
chunks: Array<Interpolation>,
executionContext: Object
) => Array<Interpolation>
export type Stringifier = (
rules: Array<Interpolation>,
selector: string,
prefix: string
) => Array<string>
export type StyleSheet = {
create: Function
}
export * from './typings'