Skip to main content

Function: LeuriaProvider()

LeuriaProvider(__namedParameters): Element

Defined in: react/src/context.tsx:13

Makes a Leuria client available to the hooks below it. Create the client once, outside render:

const ai = createLeuria({ providers: [bridge({ app: "Mug shop" }), browserAI()] })

Parameters​

__namedParameters​

children?​

ReactNode

client​

Leuria

Returns​

Element