Skip to content

Commit

Permalink
fix: add the missing quiet property to Link component
Browse files Browse the repository at this point in the history
  • Loading branch information
jianliao authored and Westbrook committed Mar 6, 2023
1 parent 2123c57 commit 867ea43
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/link/src/Link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import linkStyles from './link.css.js';
/**
* @element sp-link
*
* @attr quiet - uses quiet styles or not
* @attr over-background - uses over background styles or not
*/
export class Link extends LikeAnchor(Focusable) {
Expand All @@ -40,6 +39,12 @@ export class Link extends LikeAnchor(Focusable) {
@property({ type: String, reflect: true })
public static: 'black' | 'white' | undefined;

/**
* Uses quiet styles or not
*/
@property({ type: Boolean, reflect: true, attribute: 'quiet' })
public quiet = false;

public override get focusElement(): HTMLElement {
return this.anchorElement;
}
Expand Down

0 comments on commit 867ea43

Please sign in to comment.