houdini/client/js/components/dollar-input.js

15 lines
247 B
JavaScript
Raw Normal View History

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