From 775d05630209b438f32283b50ce9699caccfffdd Mon Sep 17 00:00:00 2001 From: zhangjiayin Date: Tue, 3 Jan 2017 14:49:30 +0800 Subject: [PATCH] custom text style support for iconfont add textStyle for iconfont support --- NavbarButton.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NavbarButton.js b/NavbarButton.js index 66bdcd4..411ff41 100644 --- a/NavbarButton.js +++ b/NavbarButton.js @@ -9,12 +9,12 @@ import styles from './styles'; export default class NavbarButton extends Component { render() { - const { style, tintColor, margin, title, handler, disabled } = this.props; + const { style, textStyle, tintColor, margin, title, handler, disabled } = this.props; return ( - {title} + {title} );