feat: improve themeability

This commit is contained in:
Miralem Drek
2019-05-03 17:56:40 +02:00
parent f7fa010802
commit cd14ad207f
20 changed files with 577 additions and 335 deletions

View File

@@ -73,7 +73,7 @@ const config = (isEsm) => {
}),
commonjs({
namedExports: {
react: ['useState', 'useEffect', 'useRef', 'useContext', 'useCallback', 'createElement', 'PureComponent'],
react: ['useState', 'useEffect', 'useRef', 'useContext', 'useCallback', 'useMemo', 'createElement', 'PureComponent'],
'react-dom': ['createPortal'],
},
}),