Every line of 'muithemeprovider' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
56 private getTheme(passedTheme: ITheme): IITheme { 57 let theme = passedTheme || this.props.theme 58 59 /** 60 * Executes the theme if it's a function 61 * otherwhise just returns the two merges themes 62 */ 63 if(typeof theme == 'function') { 64 return theme(this.outerTheme) 65 } else { 66 return { ...this.outerTheme, ...theme } 67 } 68 }