@tiny-components/upload (0.2.0)
Published 1 week ago by HerrHase
Installation
@tiny-components:registry=https://git.node001.net/api/packages/tiny-components/npm/
npm install @tiny-components/upload@0.2.0
"@tiny-components/upload": "0.2.0"
About this package
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/
Dependencies
Dependencies
ID | Version |
---|---|
@tiny-components/plain-ui | ^0.6.0 |
riot | ^9.4.10 |
Development Dependencies
ID | Version |
---|---|
@riotjs/compiler | ^9.0.7 |
@riotjs/webpack-loader | ^9.0.1 |
@tiny-components/webpack | ^0.2.0 |