Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Commit

Permalink
fix(router-item): add rounded to hasShape
Browse files Browse the repository at this point in the history
  • Loading branch information
marcjulian committed Mar 5, 2019
1 parent 3c4a151 commit d132314
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projects/core/src/lib/router-item/router-item.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class FivRouterItem implements OnInit {
* Possible values are: `"line"`, `"dot"` and any ionicon.
* Default value is: `"line"`
*/
@Input() shape: 'line' | 'dot' | 'rounded' | string = 'line';
@Input() shape: 'line' | 'dot' | 'rounded' | string = 'line';

@Input() text: string;

Expand Down Expand Up @@ -69,7 +69,8 @@ export class FivRouterItem implements OnInit {

hasShape(): boolean {
return this.shape === 'line'
|| this.shape === 'dot';
|| this.shape === 'dot'
|| this.shape === 'rounded';
}

getClasses(): string[] {
Expand Down

0 comments on commit d132314

Please sign in to comment.