diff --git a/src/components/themr.js b/src/components/themr.js index 97a2328..79e1d5b 100644 --- a/src/components/themr.js +++ b/src/components/themr.js @@ -178,8 +178,13 @@ export function themeable(original = {}, mixin) { //merging reducer (result, key) => { - const originalValue = original[key] || '' - const mixinValue = mixin[key] || '' + + const originalValue = typeof original[key] !== 'function' + ? (original[key] || '') + : ''; + const mixinValue = typeof mixin[key] !== 'function' + ? (mixin[key] || '') + : ''; let newValue