Initial commit

This commit is contained in:
Patrick Alvin Alcala 2025-10-24 16:09:57 +08:00
commit 6e8391f7d1
77 changed files with 6391 additions and 0 deletions

View file

@ -0,0 +1,13 @@
import { type JSXElement } from 'solid-js'
interface Props {
left: number
right: number
top?: number
bottom?: number
children: JSXElement
}
export default (props: Props) => {
return <div style={{ padding: `${props.top || 0}rem ${props.right}rem ${props.bottom || 0}rem ${props.left}rem` }}>{props.children}</div>
}