import '../styles/Box.sass' import { type JSXElement, createMemo } from 'solid-js' interface Props { thickness: number color?: string children: JSXElement curved?: boolean } export default (props: Props) => { const boxClass = createMemo(() => (props.curved ? 'curvedbox' : 'box')) return (
{props.children}
) }