import React from 'react'; import { YStack } from '@tamagui/stacks'; import { useAppearance } from '@/hooks/use-appearance'; type PhotoFrameTileProps = { height: number; borderRadius?: number | string; children?: React.ReactNode; shimmer?: boolean; shimmerDelayMs?: number; }; export default function PhotoFrameTile({ height, borderRadius = '$tile', children, shimmer = false, shimmerDelayMs = 0, }: PhotoFrameTileProps) { const { resolved } = useAppearance(); const isDark = resolved === 'dark'; return ( {shimmer ? ( ) : null} {children} ); }