import React, { Children } from 'react'; import { Notification, TooltipProvider } from '@box/blueprint-web'; export interface ProvideProps { children: React.ReactNode; hasProviders?: boolean; } const Providers = ({ children, hasProviders = true }: ProvideProps) => { if (hasProviders) { return ( {children} ); } return Children.only(children); }; export default Providers;