From a3d251baadf15b412ef85e063f5fbb48fdb0f32a Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 8 Jan 2021 16:49:34 +0100 Subject: 1e aangepaste spelregels dinges klaar --- src/components/ui.tsx | 40 ++++++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 12 deletions(-) (limited to 'src/components/ui.tsx') diff --git a/src/components/ui.tsx b/src/components/ui.tsx index a9ca479..4f836c2 100644 --- a/src/components/ui.tsx +++ b/src/components/ui.tsx @@ -54,23 +54,35 @@ export function Button(props: { ; } -export function Input(props: { label?: string }) { +export function Input(props: { + label?: string, + style?: CSSProperties, + type?: string +}) { + return +} + +export function SearchBar(props: { label?: string }) { return
-
{ state = { on: this.props.state || false } public toggle = () => this.setState({ on: !this.state.on }) render() { - return
+ return
{ this.state.on ? : -- cgit v1.2.3