1.2.0 • Published 3 years ago

@riot-material/rm-list-avatar v1.2.0

Weekly downloads
9
License
MIT
Repository
-
Last release
3 years ago

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;

Properties

src

circular optional

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago