GitHubPopular icon indicating copy to clipboard operation
GitHubPopular copied to clipboard

分享功能的实现 About the Share

Open gyxing opened this issue 7 years ago • 0 comments

代码不是很明白。。。

根据页面逻辑,在 js/page/about/AboutCommon.js找到了"分享"的那个图标代码(如下),但是这里没有绑定事件,找了好久都没找到事怎么实现"分享"图标的点击事件的。

config.renderFixedHeader = () => (
    <View key="fixed-header" style={styles.fixedSection}>
         {ViewUtils.getLeftButton(()=>this.props.navigator.pop())}
         <Image source={require('../../../res/images/ic_share.png')} resizeMode='stretch'
              style={[{opacity: .9, width: 16, height: 16, marginRight: 10, tintColor: 'white'}]}/>
    </View>
 );

望解答。。。。

About the share, I don't know how to achieve, I also find the relevant code but did not trigger the event. Did you know?

gyxing avatar Jul 07 '17 01:07 gyxing