Skip to content

Commit

Permalink
fix(js): change button class name to "aa-ClearButton"
Browse files Browse the repository at this point in the history
  • Loading branch information
francoischalifour committed Mar 1, 2021
1 parent c732d9a commit 5991e77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ describe('autocomplete-js', () => {
type="reset"
>
<svg
class="aa-ResetIcon"
class="aa-ClearIcon"
fill="currentColor"
height="18"
viewBox="0 0 24 24"
Expand Down
2 changes: 1 addition & 1 deletion packages/autocomplete-js/src/components/ClearIcon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component } from '../types/Component';

export const ClearIcon: Component<{}, SVGSVGElement> = () => {
const element = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
element.setAttribute('class', 'aa-ResetIcon');
element.setAttribute('class', 'aa-ClearIcon');
element.setAttribute('viewBox', '0 0 24 24');
element.setAttribute('width', '18');
element.setAttribute('height', '18');
Expand Down

0 comments on commit 5991e77

Please sign in to comment.