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.

25 lines
505 B

# Tiny Components - Upload
Created with [Riot.js](https://riot.js.org)
## Install
```bash
npm install @tiny-components/upload --save
```
## You can use it like this
```javascript
<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>
```