We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ade66de commit 67e207aCopy full SHA for 67e207a
src/components/themr.js
@@ -178,8 +178,13 @@ export function themeable(original = {}, mixin) {
178
179
//merging reducer
180
(result, key) => {
181
- const originalValue = original[key] || ''
182
- const mixinValue = mixin[key] || ''
+
+ const originalValue = typeof original[key] !== 'function'
183
+ ? (original[key] || '')
184
+ : '';
185
+ const mixinValue = typeof mixin[key] !== 'function'
186
+ ? (mixin[key] || '')
187
188
189
let newValue
190
0 commit comments