#LA_Gangster
1 messages · Page 1 of 1 (latest)
When you say Icon, do you mean an icon within your app, eg using the icon component:
https://stripe.com/docs/stripe-apps/components/icon
Re: Icon, In the <ContextView> component, we're using brandIcon={BrandIcon} attribute.
hey there sorry for the delay on this -- looking to get some help with this
Thanks @hearty vault
To reiterate... We need the Icon/BackgroundColor in the top part of the <ContextView> to persist (not only show after loaded, but during loaded as well)
Can you share the import statement for BrandIcon? My understanding is the ContextView icon should persist during loading if configured correctly
Do you have an icon set in the app manifest?
I'm wondering if that takes precedence whilst the app loads, so if unset the <ContextView /> would be blank
Otherwise I'm not sure. I would recommend filing an issue over on this repo: https://github.com/stripe/stripe-apps/issues
The Stripe Apps team monitor and resolve issues there whilst in beta
That seems likely true as the drawer icon is blank too
Thanks @sacred pecan . We've made progress and believe to have figured it all out.
In stripe-app.json , the import value from icon had to be coming from the ./build folder, instead of the globals.
And thanks @hearty vault - looks like we're all set here now 💪
Aha, nice. So is it the icon from the app manifest that is used during loading?
yess from what it looks like