-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to set tabTitle property #112
Comments
Thanks for your contribution. Please re-open if still applicable. |
@birkir still this shows "More" |
The 3 dots image and "More" title are a fallback for when there's no image provided. |
@DanielKuhn yes working now, thanks |
@harrymash2006 Can you please complete configuration for TabBarTemplate. Along with tabSystemImageName, tabTitle. |
@ElangoPrince could you please elaborate more about your issue? what you are trying and what doesn't work? may be paste the code here |
I want to change default tab-title and tab image. With below code, showing More and 3 Dots.
Note: As suggested by @DanielKuhn I need to set tabSystemImageName and tabTitle to change default values. My question is where i can set that? |
Hi @ElangoPrince you can do it like below: In the below example it is one of the tab I add. Here I have assigned the below props for tabTitle and tab image you can have a look at the name of different system images here: https://developer.apple.com/sf-symbols/ you can also set custom image using tabImage if you don't want to use tabSystemImageName. articlesListTemplate = new ListTemplate({ |
@ElangoPrince Here's all the base attributes for templates: https://github.com/birkir/react-native-carplay/blob/master/packages/react-native-carplay/src/templates/Template.ts |
@haisamMH Great. It was working fine. Thanks for your support. One more doubt, its possible to push MapTemplate in TabView? @DanielKuhn @birkir FYI |
Not sure about MapTemplate in tab view. The official doc mentions it being a root template. |
@DanielKuhn Yes, I already set com.apple.developer.carplay-maps this under entitlement. |
Hey, I get this issue every time I use TabBarTemplate:
Here is my code: template.ts
App.tsx
|
@birkir this issue was closed. Is this reproducible from your end? |
EliG-TA persist error. please open |
Tab title property is always set to "More"
The text was updated successfully, but these errors were encountered: