Skip to content

Commit

Permalink
Changed attributes in Alert.js back to normal
Browse files Browse the repository at this point in the history
  • Loading branch information
sreidthomas committed Aug 27, 2024
1 parent e967a55 commit 9ab6e2e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/atoms/Alert/Alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ export default class Alert extends HTMLElement {

// alert attributes

const icon = this.getAttribute('icon');
const icon = this.getAttribute('data-icon');

const iconOrder = this.getAttribute('icon-order');
const iconOrder = this.getAttribute('data-icon-order');

const iconSize = this.getAttribute('icon-size');
const iconSize = this.getAttribute('data-icon-size');

const backgroundColor = this.getAttribute('background-color');
const backgroundColor = this.getAttribute('data-background-color');

const extraClasses = this.getAttribute('extra-classes');
const extraClasses = this.getAttribute('data-extra-classes');
this.alert.role = 'alert';
let iconClass = '';

Expand Down

0 comments on commit 9ab6e2e

Please sign in to comment.