From cec2f032d6cf7e32eca3a87cce791e8f9f6ffaaa Mon Sep 17 00:00:00 2001 From: Florian-Schoenherr Date: Tue, 21 Sep 2021 16:51:06 +0200 Subject: [PATCH] docs(DataTable): useStaticWidth title/description Signed-off-by: Florian-Schoenherr --- docs/src/pages/components/DataTable.svx | 115 ++++++++++++------------ docs/yarn.lock | 12 +-- 2 files changed, 64 insertions(+), 63 deletions(-) diff --git a/docs/src/pages/components/DataTable.svx b/docs/src/pages/components/DataTable.svx index c991bde0..c823dae6 100644 --- a/docs/src/pages/components/DataTable.svx +++ b/docs/src/pages/components/DataTable.svx @@ -73,63 +73,6 @@ components: ["DataTable", "Toolbar", "ToolbarContent", "ToolbarSearch", "Toolbar ]}" /> -### Static width - -Set `useStaticWidth` to `true` to render the table with a width of "auto" instead of "100%". - - - ### Slotted cells Use the `"cell"` slot to control the display value per table cell. Individual row and cell data are provided through the `let:row` and `let:cell` directives. @@ -321,6 +264,64 @@ The `title` and `description` props are slottable. +### Static width + +Set `useStaticWidth` to `true` to render the table with a width of "auto" instead of "100%". + + + ### With toolbar