From 1cec2b696952ef2c472219329961bc102ed315df Mon Sep 17 00:00:00 2001 From: taehoon Date: Wed, 3 Apr 2019 22:17:42 -0400 Subject: use reusable List vue component instead of withList hoc Using slot is the preferred way in vue --- src/components/list/list.vue | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/components/list/list.vue (limited to 'src/components/list/list.vue') diff --git a/src/components/list/list.vue b/src/components/list/list.vue new file mode 100644 index 00000000..f361e3b1 --- /dev/null +++ b/src/components/list/list.vue @@ -0,0 +1,28 @@ + + + + + -- cgit v1.2.3-70-g09d2 From d806038ad3e78314610e1d0b496c19e0ccb40a0f Mon Sep 17 00:00:00 2001 From: taehoon Date: Wed, 3 Apr 2019 23:45:45 -0400 Subject: add border-bottom style to the list component as well --- src/components/list/list.vue | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'src/components/list/list.vue') diff --git a/src/components/list/list.vue b/src/components/list/list.vue index f361e3b1..d8c9f5a3 100644 --- a/src/components/list/list.vue +++ b/src/components/list/list.vue @@ -1,6 +1,8 @@