substyle
Version:
Universal styling for reusable React components
22 lines (18 loc) • 532 B
Flow
// @flow
import PropsDecoratorProvider, {
PropsDecoratorContext,
} from './PropsDecoratorProvider'
import createSubstyle from './createSubstyle'
import defaultPropsDecorator from './defaultPropsDecorator'
import inline from './inline'
import type { SubstyleT as Substyle, PropsT as StylingProps } from './types'
import useStyles from './useStyles'
export {
createSubstyle,
PropsDecoratorProvider,
PropsDecoratorContext,
defaultPropsDecorator,
inline,
}
export default useStyles
export type { Substyle, StylingProps }