Skip to content

Commit 4c689fd

Browse files
committed
chore(menu-list): remove unused maxLinesSecondaryText prop
The maximum number of lines of `secondaryText` has never been decided by the consumer. It has been defined as an inline style in the `menu-list-renderer`.
1 parent 3784fc8 commit 4c689fd

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/components/menu-list/menu-list.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,6 @@ export class MenuList {
4545
@Prop()
4646
public iconSize: IconSize = 'small';
4747

48-
/**
49-
* By default, lists will display 3 lines of text, and then truncate the rest.
50-
* Consumers can increase or decrease this number by specifying
51-
* `maxLinesSecondaryText`. If consumer enters zero or negative
52-
* numbers we default to 1; and if they type decimals we round up.
53-
*/
54-
55-
@Prop() maxLinesSecondaryText: number = 3;
56-
5748
@Element()
5849
private element: HTMLLimelMenuListElement;
5950

0 commit comments

Comments
 (0)