You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
650 B
650 B
Tiny Components - Upload
Created with Riot.js
Install
npm install @tiny-components/upload --save
You can use it like this
<form class="form" onsubmit={ (event) => ( state.validator.submit(event) ) }>
<div class="field">
<label>
email
<field-upload name="files"></field-upload>
</label>
<field-error name="files"></field-error>
</div>
<button type="submit">Send</button>
</form>
Icons
https://www.svgrepo.com/collection/pixelarticons-interface-icons/