@riot-material/rm-list-avatar
v1.2.0
Published
You can install it via nodejs ```sh npm install @riot-material/rm-circular-avatar ``` or download one of the bundled file ```js /** * `dist/index.js` */ requirejs.config({ paths: { "@riot-material/rm-circular-avatar": "path/to/@riot-m
Downloads
3
Readme
circular avatar component based on Material Design for riot-material
Installation
You can install it via nodejs
npm install @riot-material/rm-circular-avatar
or download one of the bundled file
/**
* `dist/index.js`
*/
requirejs.config({
paths: {
"@riot-material/rm-circular-avatar": "path/to/@riot-material/rm-circular-avatar",
},
});
require(['@riot-material/rm-circular-avatar'], function (CircularAvatarComponent) {
// ...
});
/**
* `dist/index.es.js`
* npm installation
*/
import CircularAvatarComponent from "@riot-material/rm-circular-avatar";
otherwise you can include the script in your project html
<script src="@riot-material/rm-circular-avatar/index.js" />
and access it via
window.riotMaterial.components.circularAvatar;