Lens Provider

LensProvider

Allows you to pass global configurations to React Native Lens UI Kit.

Options

environment? = 'testnet' | 'mainnet' (default) | 'sandbox'
theme? = 'light' (default) | 'dark

Usage

import {
  LensProvider,
  Theme,
  Environment,
} from "@lens-protocol/react-native-lens-ui-kit";
<LensProvider environment={Environment.mainnet} theme={Theme.dark}>
  <App />
</LensProvider>;
Last updated on January 4, 2023