@magicbell/magicbell-react
Version:
React components for building a notification inbox for your app
8 lines (7 loc) • 338 B
TypeScript
import React from 'react';
import { MagicBellProviderProps } from './MagicBellProvider.js';
/**
* Component that conditionally wraps the children with a MagicBellProvider
* unless one is defined already.
*/
export default function MagicBellChildrenWrapper({ children, apiKey, ...settings }: MagicBellProviderProps): React.JSX.Element;