import { useRef } from 'react' import { TooltipProvider, Tooltip } from '@nivo/tooltip' import { ThemeProvider } from '@nivo/theming' import { MotionConfigProvider } from '../motion' import { ConditionalWrapper } from './ConditionalWrapper' const containerStyle = { position: 'relative', } export const Container = ({ children, theme, renderWrapper = true, isInteractive = true, animate, motionConfig, }) => { const container = useRef(null) return ( {/* we should not render the div element if using the HTTP API */} } > {children} {isInteractive && } ) } export default Container