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 (
|
||||
<label>
|
||||
{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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user