From dbb1f9e8a535fc99d06eccc1535394b446e9489b Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Thu, 22 Oct 2020 08:53:16 -0700 Subject: [PATCH] docs(content-switcher): add selected index example, use more realistic copy --- docs/src/pages/components/ContentSwitcher.svx | 45 +++++++++++-------- 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/docs/src/pages/components/ContentSwitcher.svx b/docs/src/pages/components/ContentSwitcher.svx index 0b6a5e50..3dc212f8 100644 --- a/docs/src/pages/components/ContentSwitcher.svx +++ b/docs/src/pages/components/ContentSwitcher.svx @@ -4,24 +4,31 @@ components: ["ContentSwitcher", "Switch"] ### Default - - - + + + + +### Initial selected index + + + + + ### Light variant - - - + + ### Custom switch slot @@ -29,31 +36,33 @@ components: ["ContentSwitcher", "Switch"]
- Third section -
+ Latest news + +
+ +
+ Trending +
-
### Extra-large size - - - + + ### Small size - - - + + ### Disabled - - + + \ No newline at end of file