Changed HTMLElement to JSXElement
This commit is contained in:
parent
69818aaf6d
commit
7a9cd4b4bf
3 changed files with 6 additions and 4 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
|
import type { JSXElement } from 'solid-js'
|
||||||
import './Column.sass'
|
import './Column.sass'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
children: HTMLElement
|
children: JSXElement
|
||||||
content: 'top' | 'center' | 'right' | 'split' | 'spaced'
|
content: 'top' | 'center' | 'right' | 'split' | 'spaced'
|
||||||
gap?: number
|
gap?: number
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
import './Footer.sass'
|
import './Footer.sass'
|
||||||
|
import type { JSXElement } from 'solid-js'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
children: HTMLElement
|
children: JSXElement
|
||||||
}
|
}
|
||||||
|
|
||||||
export default (props: Props) => {
|
export default (props: Props) => {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import './Row.sass'
|
import './Row.sass'
|
||||||
import { Show } from 'solid-js'
|
import { Show, type JSXElement } from 'solid-js'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
children: HTMLElement
|
children: JSXElement
|
||||||
content: 'left' | 'center' | 'right' | 'split' | 'spaced' | 'even'
|
content: 'left' | 'center' | 'right' | 'split' | 'spaced' | 'even'
|
||||||
gap?: number
|
gap?: number
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue