diff --git a/core/src/components.d.ts b/core/src/components.d.ts index e68e8e9452..71280a9a46 100644 --- a/core/src/components.d.ts +++ b/core/src/components.d.ts @@ -1084,7 +1084,7 @@ declare global { */ 'href': string; /** - * How the bottom border should be displayed on the item. + * How the bottom border should be displayed on the item. Available options: `"full"`, `"inset"`, `"none"`. */ 'lines': 'full' | 'inset' | 'none'; /** @@ -2182,7 +2182,7 @@ declare global { interface IonSkeletonText { /** - * Width for the element to render at. Default is 100% + * The width of the element. Defaults to: `"100%"`. */ 'width': string; } @@ -4706,7 +4706,7 @@ declare global { */ 'href'?: string; /** - * How the bottom border should be displayed on the item. + * How the bottom border should be displayed on the item. Available options: `"full"`, `"inset"`, `"none"`. */ 'lines'?: 'full' | 'inset' | 'none'; /** @@ -5802,7 +5802,7 @@ declare global { export interface IonSkeletonTextAttributes extends HTMLAttributes { /** - * Width for the element to render at. Default is 100% + * The width of the element. Defaults to: `"100%"`. */ 'width'?: string; } diff --git a/core/src/components/item/item.tsx b/core/src/components/item/item.tsx index 2b20a7d7e2..8b0b18d2d7 100644 --- a/core/src/components/item/item.tsx +++ b/core/src/components/item/item.tsx @@ -60,6 +60,7 @@ export class Item { /** * How the bottom border should be displayed on the item. + * Available options: `"full"`, `"inset"`, `"none"`. */ @Prop() lines?: 'full' | 'inset' | 'none'; @@ -145,6 +146,8 @@ export class Item { const attrs = TagType === 'button' ? { type } : { href }; const showDetail = detail != null ? detail : mode === 'ios' && clickable; + console.log('item state', state); + return (