` element.
+
+
+
+
+ Primary
+ Secondary
+ Tertiary
+
+
+
+ See code
+
+
+
+```html
+Primary
+Secondary
+Tertiary
+```
+
diff --git a/docs/partials/index.md b/docs/partials/index.md
index b5a5d00..5524b19 100644
--- a/docs/partials/index.md
+++ b/docs/partials/index.md
@@ -133,3 +133,29 @@ Don't combine `disabled` and `loading` attributes on any single instance of `aur
+
+## Recommended Use and Version Control
+
+There are two important parts of every Auro component. The class and the custom clement. The class is exported and then used as part of defining the Web Component. When importing this component as described in the install section, the class is imported and the `auro-button` custom element is defined automatically.
+
+To protect from versioning conflicts with other instances of the component being loaded, it is recommended to use our `registerComponent(name)` method and pass in a unique name.
+
+```js
+import './node_modules/@aurodesignsystem/auro-button';
+registerComponent('custom-button');
+```
+
+This will create a new custom element that you can use in your HTML that will function identically to the `` element.
+
+
+
+
+
+
+
+ See code
+
+
+
+
+
diff --git a/index.js b/index.js
index 3d705e3..5365302 100644
--- a/index.js
+++ b/index.js
@@ -11,6 +11,3 @@ export function registerComponent(name) {
customElements.define(name, class extends AuroButton {});
}
}
-
-// Example custom registration
-// registerComponent('my-button');
diff --git a/package-lock.json b/package-lock.json
index 2cfca04..c071106 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@aurodesignsystem/auro-button",
- "version": "7.2.6",
+ "version": "7.2.7",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@aurodesignsystem/auro-button",
- "version": "7.2.6",
+ "version": "7.2.7",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {