/* global React */ function Field({ label, hint, children, full }) { return (
{label} {children} {hint && {hint}}
); } function TextInput({ value, onChange, placeholder, type = "text", prefix }) { const input = ( onChange(e.target.value)} /> ); if (prefix) { return (
{prefix} {input}
); } return input; } function TextArea({ value, onChange, placeholder, rows = 4 }) { return (