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>;
}

Related

Toast

Display brief popup notifications.

Tooltip

Popup with brief information shown when user interacts with an element using keyboard focus or mouse hover.

Props

AxiomProvider

Doesn't render its own HTML element.

Prop

toast

Props for the ToastProvider component

Documentation

Omit<ToastProviderProps, "children">

tooltip

Props for the TooltipProvider component

Documentation

Omit<{ disableHoverableContent?: boolean; } & Omit<TooltipProviderProps, "disableHoverableContent">, "children">

Changelog

0.1.0

  • Added component