android - How add custom icons from my pc to my ReactNative app (NativeBase TabBar Icon) -


* imported nativebase components *i using "tabbar" contains item *the platform android

i designed many icons app, , used several tag need add custom icon in tag can't. way try used it.

also... way call local icon:

const iconmore = require('../../../static/img/tabbarandroid/more.png');

render() {     return (       <tabs>         <tab           heading={             <tabheading>               <icon name={iconhome} />             </tabheading>}         >           <newslist />         </tab>         <tab           heading={             <tabheading>               <icon android={iconinterest} />             </tabheading>}         >          <favoritelistcomponent />         </tab>         <tab           heading={             <tabheading>               <icon android={iconsearchchurches} />             </tabheading>}         >          <mapchurchcomponent />         </tab>         <tab           heading={             <tabheading>               <icon android={iconheadquarters} />             </tabheading>}         >          <churchlistcomponent />         </tab>         <tab           heading={             <tabheading>               <icon android={iconmore} />               </tabheading>}         >          <mascomponent />         </tab>       </tabs>     );   } 


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -