import { assignInlineVars } from '@vanilla-extract/dynamic'; import clsx from 'clsx'; import { forwardRef, type HTMLAttributes } from 'react'; import { withUnit } from '../../utils/with-unit'; import { bottomOffsetVar, safeArea, topOffsetVar } from './style.css'; interface SafeAreaProps extends HTMLAttributes { top?: boolean; bottom?: boolean; topOffset?: number | string; bottomOffset?: number | string; } export const SafeArea = forwardRef( function SafeArea( { children, className, style, top, bottom, topOffset = 0, bottomOffset = 0, ...attrs }, ref ) { return (
{children}
); } );