// Copyright 2017-2026 @pezkuwi/app-coretime authors & contributors // SPDX-License-Identifier: Apache-2.0 import React, { type ReactNode } from 'react'; import { useTheme } from '@pezkuwi/react-hooks'; export const WhiteBox = ({ children, style }: { children: ReactNode, style?: React.CSSProperties }) => { const { theme } = useTheme(); const backgroundColor = theme === 'dark' ? '#333' : 'white'; return
{children}
; };