import React from "react"; interface InputProps { type?: string; placeholder?: string; value: string; onChange: (e: React.ChangeEvent) => void; label: string; inlineLabel?: boolean; } export default function Input(props: InputProps) { if (props.inlineLabel) { return } else { return
{props.label}
} } interface TextAreaProps { value: string; onChange: (e: React.ChangeEvent) => void; label: string; height?: string | number; } export function TextArea(props: TextAreaProps) { return
{props.label}