I am looking to replace the flex logo at the top of our instance with our own logo, but I can't seem to find any documentation on how to do this via a plugin.
Is this possible and how do you do it?
As per Flex UI documentation you can change default properties for components using React defaultprops
API programmatically:
componentProps: { [Component Name]: { [Prop Name]: [PropValue] } }
Example:
flex.MainHeader
.defaultProps
.logoUrl = "https://static0.twilio.com/marketing/bundles/archetype.alpha/img/logo-wordmark--red.svg";
In addition you can find all the configurable components and their defaultProps here
Hope it will help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With