• Manages the lifecycle and internal state of the Lens SDK

    Returns Element

    Example

    import { LensProvider, staging } from '@lens-protocol/react-web';
    import { bindings as wagmiBindings } from '@lens-protocol/wagmi';

    const lensConfig: LensConfig = {
    bindings: wagmiBindings(),
    environment: staging,
    };

    function App() {
    return (
    <LensProvider config={lensConfig}>
    // ...
    </LensProvider>
    );
    }