kitze/react-genie

Add <GlobalConfig/> override

kitze opened this issue · 0 comments

kitze commented

This will be useful in a lot of scenarios.

For example the user can wrap their app with

<GlobalConfig delay={isMobile ? 0: 200}>
  <App/>
</GlobalConfig/>

to force disable animations on mobile.