├── .babelrc ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── examples ├── demo.gif └── src │ ├── index.html │ └── index.js ├── package.json ├── src ├── Avatar │ ├── ImagePreview.js │ ├── Uploader.js │ └── index.js ├── index.js ├── static │ └── assets │ │ └── upload_icon.png └── types.d.ts ├── webpack.config.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["env", "react"] 3 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | examples 3 | .babelrc 4 | .gitignore 5 | webpack.config.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/README.md -------------------------------------------------------------------------------- /examples/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/examples/demo.gif -------------------------------------------------------------------------------- /examples/src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/examples/src/index.html -------------------------------------------------------------------------------- /examples/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/examples/src/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/package.json -------------------------------------------------------------------------------- /src/Avatar/ImagePreview.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/src/Avatar/ImagePreview.js -------------------------------------------------------------------------------- /src/Avatar/Uploader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/src/Avatar/Uploader.js -------------------------------------------------------------------------------- /src/Avatar/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/src/Avatar/index.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/src/index.js -------------------------------------------------------------------------------- /src/static/assets/upload_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/src/static/assets/upload_icon.png -------------------------------------------------------------------------------- /src/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/src/types.d.ts -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/webpack.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aladhims/react-avatar-uploader/HEAD/yarn.lock --------------------------------------------------------------------------------