Provides the necessary theming context for all components.
Themes should be imported from the themes folder and passed into BraidProvider using the theme prop. The linkComponent prop allows you to customise the rendering of Braid links (e.g. Link, TextLink, ButtonLink, MenuItemLink) across an entire application. This is useful for conditionally rendering React Router links, handling analytics, etc.When defining a custom link component, ensure you’re using the makeLinkComponent helper function and forwarding the ref argument, otherwise certain link usages will be unable to function correctly.If you want to make use of this mechanism within your own components, use Link which simply forwards your custom link component internally.