A shortcut function to create DOM nodes
import { h } from 'filepond/utils';
const myButton = h(
// Tag name
'button',
// Attributes and properties
{
type:'button',
style: 'color:red; --my-custom-property:10'
onclick: () => {
alert("Hello World");
}
},
// Children
[
// Add another element
h('span', {}, [
'My caption'
]),
// Add a text node
'A text node'
]
)