chadmorrow
05/21/2018, 12:35 AMStyledComponents.injectGlobal(styles.toString())
to inject global styles. However, it doesn't specify where you can call that. I've tried calling it from just about every part of my app and can never get it to work. I always get a receiver mismatch error. Could someone help provide a little more context on how this is used?chadmorrow
05/21/2018, 12:38 AMUnresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public operator fun <P : RProps, R : RProps> HOC<???, ???>.invoke(config: Any, component: RBuilder.(???) -> Unit): RClass<???> defined in react
public operator fun <P : RProps, R : RProps> HOC<???, ???>.invoke(component: RBuilder.(???) -> Unit): RClass<???> defined in react
public operator fun <P : RProps, R : RProps> HOC<???, ???>.invoke(component: RClass<???>): RClass<???> defined in react
bashor
05/24/2018, 10:49 AMchadmorrow
06/05/2018, 11:16 PMFilipp Riabchun
06/07/2018, 4:52 PM