How to add icon on stand alone mode #226
umardev500
started this conversation in
General
Replies: 2 comments 4 replies
-
Hey, you can take a look at this example: const [routes] = useState([
{
key: 'article',
title: 'Article',
focusedIcon: require('../../assets/icons/article_dark.png'),
unfocusedIcon: require('../../assets/icons/chat_dark.png'),
badge: '!',
},
{
key: 'albums',
title: 'Albums',
focusedIcon: require('../../assets/icons/grid_dark.png'),
badge: '5',
hidden: hideOneTab,
},
{
key: 'contacts',
focusedIcon: require('../../assets/icons/person_dark.png'),
title: 'Contacts',
},
{
key: 'chat',
focusedIcon: require('../../assets/icons/chat_dark.png'),
title: 'Chat',
},
]); |
Beta Was this translation helpful? Give feedback.
3 replies
-
const [routes] = useState([ not working |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
focusedIcon: Icon to show when tab is active
unfocusedIcon: Icon to show when tab is inactive (optional)
this very confused how to added the icon
Beta Was this translation helpful? Give feedback.
All reactions