16 lines
311 B
JavaScript
16 lines
311 B
JavaScript
|
// License: LGPL-3.0-or-later
|
||
|
const h = require('flimflam/h')
|
||
|
const classObject = require('../common/class-object')
|
||
|
|
||
|
module.exports = (name, placeholder, value, classes) => {
|
||
|
return h('textarea.max-width-2', {
|
||
|
props: {
|
||
|
name
|
||
|
, placeholder
|
||
|
, value
|
||
|
}
|
||
|
, class: classObject(classes)
|
||
|
})
|
||
|
}
|
||
|
|