docs(breadcrumbs): remove incorrect prop descriptions (#25415)

This commit is contained in:
Amanda Johnston
2022-06-07 11:28:39 -05:00
committed by GitHub
parent 122cdcc825
commit 1e8c95d592
2 changed files with 8 additions and 6 deletions

View File

@ -338,11 +338,11 @@ export namespace Components {
*/ */
"color"?: Color; "color"?: Color;
/** /**
* The number of breadcrumbs to show after the collapsed indicator. If this property exists `maxItems` will be ignored. * The number of breadcrumbs to show after the collapsed indicator. If `itemsBeforeCollapse` + `itemsAfterCollapse` is greater than `maxItems`, the breadcrumbs will not be collapsed.
*/ */
"itemsAfterCollapse": number; "itemsAfterCollapse": number;
/** /**
* The number of breadcrumbs to show before the collapsed indicator. If this property exists `maxItems` will be ignored. * The number of breadcrumbs to show before the collapsed indicator. If `itemsBeforeCollapse` + `itemsAfterCollapse` is greater than `maxItems`, the breadcrumbs will not be collapsed.
*/ */
"itemsBeforeCollapse": number; "itemsBeforeCollapse": number;
/** /**
@ -4228,11 +4228,11 @@ declare namespace LocalJSX {
*/ */
"color"?: Color; "color"?: Color;
/** /**
* The number of breadcrumbs to show after the collapsed indicator. If this property exists `maxItems` will be ignored. * The number of breadcrumbs to show after the collapsed indicator. If `itemsBeforeCollapse` + `itemsAfterCollapse` is greater than `maxItems`, the breadcrumbs will not be collapsed.
*/ */
"itemsAfterCollapse"?: number; "itemsAfterCollapse"?: number;
/** /**
* The number of breadcrumbs to show before the collapsed indicator. If this property exists `maxItems` will be ignored. * The number of breadcrumbs to show before the collapsed indicator. If `itemsBeforeCollapse` + `itemsAfterCollapse` is greater than `maxItems`, the breadcrumbs will not be collapsed.
*/ */
"itemsBeforeCollapse"?: number; "itemsBeforeCollapse"?: number;
/** /**

View File

@ -38,13 +38,15 @@ export class Breadcrumbs implements ComponentInterface {
/** /**
* The number of breadcrumbs to show before the collapsed indicator. * The number of breadcrumbs to show before the collapsed indicator.
* If this property exists `maxItems` will be ignored. * If `itemsBeforeCollapse` + `itemsAfterCollapse` is greater than `maxItems`,
* the breadcrumbs will not be collapsed.
*/ */
@Prop() itemsBeforeCollapse = 1; @Prop() itemsBeforeCollapse = 1;
/** /**
* The number of breadcrumbs to show after the collapsed indicator. * The number of breadcrumbs to show after the collapsed indicator.
* If this property exists `maxItems` will be ignored. * If `itemsBeforeCollapse` + `itemsAfterCollapse` is greater than `maxItems`,
* the breadcrumbs will not be collapsed.
*/ */
@Prop() itemsAfterCollapse = 1; @Prop() itemsAfterCollapse = 1;