houdini/app/javascript/legacy/components/textarea.js

16 lines
311 B
JavaScript
Raw Normal View History

2019-11-06 20:36:28 +00:00
// 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)
})
}