ComponentsAxiomProvider

AxiomProvider

AxiomProvider provides all the context managers required for our components to work. It must be rendered at the root of your application and should be used only once.

Documentation

Usage

import { AxiomProvider } from "@optiaxiom/react";
 
export function App() {
  return <AxiomProvider>{/* Your app code here */}</AxiomProvider>;
}

Props

AxiomProvider

Name

Type

toast

Omit<ToastProviderProps, "children">

Props for the ToastProvider component

Documentation

tooltip

Omit<TooltipProviderProps, "children">

Props for the TooltipProvider component

Documentation

Changelog

0.1.0

  • Added component

Copyright 2024 © Optimizely.