From a9300db91e126cb16a85b184d3a47f8d68eeaa89 Mon Sep 17 00:00:00 2001 From: "Haytham A. Salama" Date: Sun, 30 Jul 2023 17:55:38 +0300 Subject: [PATCH] docs(examples): add advanced table example (#393) Co-authored-by: Benjamin Canac --- .../content/examples/TableExampleAdvanced.vue | 245 ++++++++++++++++++ docs/content/1.getting-started/5.examples.md | 17 ++ 2 files changed, 262 insertions(+) create mode 100644 docs/components/content/examples/TableExampleAdvanced.vue diff --git a/docs/components/content/examples/TableExampleAdvanced.vue b/docs/components/content/examples/TableExampleAdvanced.vue new file mode 100644 index 0000000000..40510a0a11 --- /dev/null +++ b/docs/components/content/examples/TableExampleAdvanced.vue @@ -0,0 +1,245 @@ + + + diff --git a/docs/content/1.getting-started/5.examples.md b/docs/content/1.getting-started/5.examples.md index 4dcb991e5e..3e8bb218d5 100644 --- a/docs/content/1.getting-started/5.examples.md +++ b/docs/content/1.getting-started/5.examples.md @@ -134,6 +134,23 @@ const label = computed(() => date.value.toLocaleDateString('en-us', { weekday: ' ``` :: +### Table + +Here is an example of a Table component with all its features implemented. + +::component-example +--- +padding: false +--- + +#default +:table-example-advanced +:: + +::callout{icon="i-simple-icons-github" to="https://github.com/nuxtlabs/ui/blob/dev/docs/components/content/examples/TableExampleAdvanced.vue"} +Take a look at the component! +:: + ## Theming Our theming system provides a lot of flexibility to customize the components.