houdini/app/javascript/legacy/components/textarea.js
2020-04-23 14:09:14 -05:00

15 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)
})
}