UNPKG

@smartface/contx

Version:
10 lines (9 loc) 250 B
/** * Creates an action that add a context to ThemeContext as a Context element. * * @params {function} - Context wrapper function */ export default function addThemeableContext(context: () => any ): { type: string, context: () => any }