Documentation / @frak-labs/react-sdk / FrakIFrameClientProvider
Function: FrakIFrameClientProvider()
FrakIFrameClientProvider(
args):FunctionComponentElement<FragmentProps>
Defined in: react/src/provider/FrakIFrameClientProvider.ts:47
IFrame client provider for the Frak Wallet SDK It will automatically create the frak wallet iFrame (required for the wallet to communicate with the SDK securely), and provide it in the context
Parameters
args
children?
ReactNode
Descedant components that will have access to the Frak Client
style?
CSSProperties
Some custom styles to apply to the iFrame
Returns
FunctionComponentElement<FragmentProps>
Remarks
This provider must be wrapped within a FrakConfigProvider to work properly