import { Component, CSSProperties, ReactNode } from "react"; import SearchIcon from '@material-ui/icons/Search'; import CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank'; import CheckBoxIcon from '@material-ui/icons/CheckBox'; export function Vierkant(props: { href?: string; width?: string; height?: string; style?: CSSProperties; children?: ReactNode; className?: string; id?: string; }) { return {props.children} } export function Button(props: { text?: string; children?: ReactNode; style?: CSSProperties; href?: string; onclick?: (() => void); id?: string; }) { return { props.text ? {props.text} : undefined } { props.children } ; } export function IconLabelButton(props: { text: string; icon: ReactNode; onclick?: () => void; }) { return } export function Input(props: { label?: string; style?: CSSProperties; type?: string; id?: string; min?: number; max?: number; value?: string|number; }) { return } export function SearchBar(props: { label?: string }) { return
} export class CheckBox extends Component<{ state?: boolean; style?: CSSProperties; id?: string; }> { state = { on: this.props.state || false } public toggle = () => this.setState({ on: !this.state.on }) render() { return
{ this.state.on ? : }
; } }