Changed HTMLElement to JSXElement

This commit is contained in:
Patrick Alvin Alcala 2025-09-02 11:17:55 +08:00
parent 69818aaf6d
commit 7a9cd4b4bf
3 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,8 @@
import type { JSXElement } from 'solid-js'
import './Column.sass'
interface Props {
children: HTMLElement
children: JSXElement
content: 'top' | 'center' | 'right' | 'split' | 'spaced'
gap?: number
}

View file

@ -1,7 +1,8 @@
import './Footer.sass'
import type { JSXElement } from 'solid-js'
interface Props {
children: HTMLElement
children: JSXElement
}
export default (props: Props) => {

View file

@ -1,8 +1,8 @@
import './Row.sass'
import { Show } from 'solid-js'
import { Show, type JSXElement } from 'solid-js'
interface Props {
children: HTMLElement
children: JSXElement
content: 'left' | 'center' | 'right' | 'split' | 'spaced' | 'even'
gap?: number
}