houdini/app/javascript/legacy/components/dollar-input.js

16 lines
277 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')
module.exports = (name, placeholder, value) => {
return h('input.dollar-input.max-width-2', {
props: {
type: 'number'
, step: 'any'
, min: 0
, name
, placeholder
, value
}
})
}