mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
add classNames to inputs
This commit is contained in:
@@ -4,7 +4,10 @@ export default function(props) {
|
|||||||
return (
|
return (
|
||||||
<label>
|
<label>
|
||||||
{props.text}:
|
{props.text}:
|
||||||
<input onchange={props.onchange.bind(null, props.name)} type="text" />
|
<input
|
||||||
|
class={props.name}
|
||||||
|
onchange={props.onchange.bind(null, props.name)} type="text"
|
||||||
|
/>
|
||||||
</label>
|
</label>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,10 @@ export default function(props) {
|
|||||||
return (
|
return (
|
||||||
<label>
|
<label>
|
||||||
{props.text}:
|
{props.text}:
|
||||||
<textarea onchange={props.onchange.bind(null, props.name)} />
|
<textarea
|
||||||
|
class={props.name}
|
||||||
|
onchange={props.onchange.bind(null, props.name)}
|
||||||
|
/>
|
||||||
</label>
|
</label>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user