mirror of
https://github.com/tomru/pdfer.git
synced 2026-03-03 06:27:19 +01:00
16 lines
303 B
TypeScript
16 lines
303 B
TypeScript
import React from 'react'
|
|
|
|
export default function (props) {
|
|
return (
|
|
<label>
|
|
{props.text}
|
|
<textarea
|
|
className={props.name}
|
|
placeholder={props.placeholder}
|
|
onChange={props.onchange.bind(null, props.name)}
|
|
value={props.value}
|
|
/>
|
|
</label>
|
|
)
|
|
}
|