kws3media / ui

MIT License
8 stars 2 forks source link

Fileuploader - Changes with slots #147

Open sabirveli opened 2 years ago

sabirveli commented 2 years ago

the file upload component…. keep reimplementing it for different looks needs unifying.. it should be something like..

<div class="kws-file-upload"> <slot {prop1} {prop2} > <!--ui goes here--> </slot> <input type="file /> <!--absolutely position--> </div>

Note : so almost everything goes via slot props.. so we can build different looks while not having to copy same js code to another file to make a variation.. we also copy/pasted same file in othe rprojects to make it wirk slightly different for apparel we did one version for main apparel.. and a cloud upload version for prodsys see if you can unify everything including any backend changes we added for cloud upload