remove colons after input name

This commit is contained in:
Thomas Ruoff
2017-02-21 23:26:32 +01:00
parent 130ccf8a34
commit 7adf718a98
3 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ import { h } from 'preact';
export default function(props) { export default function(props) {
return ( return (
<label> <label>
{props.text}: {props.text}
<input <input
class={props.name} class={props.name}
type="text" type="text"

View File

@@ -15,7 +15,7 @@ export default (props) => {
return ( return (
<label> <label>
{props.text}: {props.text}
<select <select
class={props.name} class={props.name}
onchange={props.onchange.bind(null, props.name)} onchange={props.onchange.bind(null, props.name)}

View File

@@ -3,7 +3,7 @@ import { h } from 'preact';
export default function(props) { export default function(props) {
return ( return (
<label> <label>
{props.text}: {props.text}
<textarea <textarea
class={props.name} class={props.name}
placeholder={props.placeholder} placeholder={props.placeholder}