import LcdScreen from './LcdScreen.jsx' const SHELL_PRESETS = { bubblegum: 'var(--shell-bubblegum)', sky: 'var(--shell-sky)', lemon: 'var(--shell-lemon)', lime: 'var(--shell-lime)', grape: 'var(--shell-grape)', tangerine: 'var(--shell-tangerine)', clear: 'var(--shell-clear)', } /** * DeviceShell — the egg-shaped plastic virtual-pet toy. Glossy moulded shell, a * key-ring nub up top, a sunken LCD screen (pass screen content as children) * and the three signature A / B / C buttons along the bottom. * * Compose a Pet (or any screen content) as children; wire onA/onB/onC. */ export default function DeviceShell({ shell = 'bubblegum', theme = 'olive', lit = true, fill = false, label = 'SLOPAGOTCHI', buttons = ['A', 'B', 'C'], buttonTitles = [], onA, onB, onC, width = 300, className = '', style = {}, children, ...rest }) { const shellColor = SHELL_PRESETS[shell] || shell const handlers = [onA, onB, onC] return (