@enso-ui/uploader
Version:
File upload components for Enso UI.
51 lines (45 loc) • 1.92 kB
Markdown
# Uploader
[](https://github.com/enso-ui/uploader/blob/master/LICENSE)
[](https://www.npmjs.com/package/@enso-ui/uploader)
[](https://www.npmjs.com/package/@enso-ui/uploader)
[](https://vuejs.org/)
[](https://developer.mozilla.org/docs/Web/JavaScript)
[](https://sass-lang.com/)
[](https://www.npmjs.com/package/@enso-ui/uploader)
[](https://github.com/enso-ui/uploader/issues)
[](https://github.com/enso-ui/uploader/pulls)
## Description
File upload components for Enso UI.
## Installation
Install the package:
```bash
yarn add @enso-ui/uploader
```
## Features
- exports `Uploader`, `EnsoUploader` as its public surface
- keeps the Bulma presentation layer separate from the renderless/stateful layer where applicable
## Usage
```vue
<script setup>
import { Uploader, EnsoUploader } from '@enso-ui/uploader/bulma';
</script>
```
## API
### `Uploader`
Public export available from `src/bulma/Uploader.vue`.
Props:
- `isLarge`
- `isRounded`
- `isSmall`
### `EnsoUploader`
Public export available from `src/bulma/EnsoUploader.vue`.
Injects:
- `http`
- `i18n`
## Depends On
- No additional Enso UI dependencies.
## Contributions
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!
## License
[MIT](https://github.com/enso-ui/uploader/blob/master/LICENSE)