From dc762f0a3193c4b64a23e110f3aa7150e2510c70 Mon Sep 17 00:00:00 2001 From: Damian Date: Thu, 9 Aug 2018 12:04:51 -0400 Subject: [PATCH] docs(list): add available options for lines property --- core/src/components.d.ts | 4 ++-- core/src/components/list/list.tsx | 1 + core/src/components/list/readme.md | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/core/src/components.d.ts b/core/src/components.d.ts index a426de2070..e68e8e9452 100644 --- a/core/src/components.d.ts +++ b/core/src/components.d.ts @@ -1143,7 +1143,7 @@ declare global { */ 'inset': boolean; /** - * How the bottom border should be displayed on all items. + * How the bottom border should be displayed on all items. Available options: `"full"`, `"inset"`, `"none"`. */ 'lines': 'full' | 'inset' | 'none'; /** @@ -4760,7 +4760,7 @@ declare global { */ 'inset'?: boolean; /** - * How the bottom border should be displayed on all items. + * How the bottom border should be displayed on all items. Available options: `"full"`, `"inset"`, `"none"`. */ 'lines'?: 'full' | 'inset' | 'none'; } diff --git a/core/src/components/list/list.tsx b/core/src/components/list/list.tsx index 6d14bf9a9f..56232d20cc 100644 --- a/core/src/components/list/list.tsx +++ b/core/src/components/list/list.tsx @@ -17,6 +17,7 @@ export class List { /** * How the bottom border should be displayed on all items. + * Available options: `"full"`, `"inset"`, `"none"`. */ @Prop() lines?: 'full' | 'inset' | 'none'; diff --git a/core/src/components/list/readme.md b/core/src/components/list/readme.md index 55db206252..b69641195b 100644 --- a/core/src/components/list/readme.md +++ b/core/src/components/list/readme.md @@ -23,6 +23,7 @@ If true, the list will have margin around it and rounded corners. Defaults to `f string How the bottom border should be displayed on all items. +Available options: `"full"`, `"inset"`, `"none"`. ## Attributes @@ -39,6 +40,7 @@ If true, the list will have margin around it and rounded corners. Defaults to `f string How the bottom border should be displayed on all items. +Available options: `"full"`, `"inset"`, `"none"`. ## Methods