diff --git a/fwt/components/Column/Column.tsx b/fwt/components/Column/Column.tsx
index 27e0e05..9e84a11 100644
--- a/fwt/components/Column/Column.tsx
+++ b/fwt/components/Column/Column.tsx
@@ -1,8 +1,7 @@
-import type { JSXElement } from 'solid-js'
import './Column.sass'
interface Props {
- children: JSXElement
+ children: any
content: 'top' | 'center' | 'right' | 'split' | 'spaced'
gap?: number
}
diff --git a/fwt/components/Footer/Footer.tsx b/fwt/components/Footer/Footer.tsx
index b5fe510..ca71e92 100644
--- a/fwt/components/Footer/Footer.tsx
+++ b/fwt/components/Footer/Footer.tsx
@@ -1,8 +1,7 @@
import './Footer.sass'
-import type { JSXElement } from 'solid-js'
interface Props {
- children: JSXElement
+ children: any
}
export default (props: Props) => {
diff --git a/fwt/components/HTML/HTML.tsx b/fwt/components/HTML/HTML.tsx
index 3fd7566..b5ead9e 100644
--- a/fwt/components/HTML/HTML.tsx
+++ b/fwt/components/HTML/HTML.tsx
@@ -4,7 +4,7 @@ interface Props {
title: string
name: string
description: string
- children: HTMLElement
+ children: any
font?: string
}
diff --git a/fwt/components/Input/Input.sass b/fwt/components/Input/Input.sass
deleted file mode 100644
index fc8e6cf..0000000
--- a/fwt/components/Input/Input.sass
+++ /dev/null
@@ -1,3 +0,0 @@
-.input
- font-size: 1rem
- padding: 0.5rem 1rem
diff --git a/fwt/components/Input/Input.tsx b/fwt/components/Input/Input.tsx
deleted file mode 100644
index c0f7c97..0000000
--- a/fwt/components/Input/Input.tsx
+++ /dev/null
@@ -1,27 +0,0 @@
-import './Input.sass'
-import { createSignal } from 'solid-js'
-
-interface Props {
- placeholder?: string
- value?: string
- onChange?: (value: string) => void
-}
-
-export default (props: Props) => {
- const [inputValue, setInputValue] = createSignal(props.value || '')
-
- const handleChange = (event: Event) => {
- const target = event.target as HTMLInputElement
- const newValue = target.value
- setInputValue(newValue)
- if (props.onChange) {
- props.onChange(newValue)
- }
- }
-
- return (
- <>
-
- >
- )
-}
diff --git a/fwt/components/Navbar/Navbar.tsx b/fwt/components/Navbar/Navbar.tsx
index 3b0c688..81f39c4 100644
--- a/fwt/components/Navbar/Navbar.tsx
+++ b/fwt/components/Navbar/Navbar.tsx
@@ -4,7 +4,7 @@ import Row from '../Row/Row'
interface Props {
transparent?: boolean
- children: HTMLElement
+ children: any
}
export default (props: Props) => {
diff --git a/fwt/components/Row/Row.tsx b/fwt/components/Row/Row.tsx
index 0e3176b..f5d1b97 100644
--- a/fwt/components/Row/Row.tsx
+++ b/fwt/components/Row/Row.tsx
@@ -1,8 +1,8 @@
import './Row.sass'
-import { Show, type JSXElement } from 'solid-js'
+import { Show } from 'solid-js'
interface Props {
- children: JSXElement
+ children: any
content: 'left' | 'center' | 'right' | 'split' | 'spaced' | 'even'
gap?: number
}
@@ -17,7 +17,9 @@ export default (props: Props) => {
- {props.children}
+
+ {props.children}
+
>
)