From 27e84aa81ccd0ad8ee051b52a54f6efc75fd0944 Mon Sep 17 00:00:00 2001 From: Ionut-Cristian Florescu Date: Fri, 12 Apr 2024 17:03:31 +0300 Subject: [PATCH 1/2] Fix #570 - Update all Text components to output divs instead of paragraphs --- package/DataTableEmptyState.tsx | 2 +- package/DataTablePageSizeSelector.tsx | 8 ++++++-- package/DataTablePagination.tsx | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/package/DataTableEmptyState.tsx b/package/DataTableEmptyState.tsx index 69e8da385..39dce4b9d 100644 --- a/package/DataTableEmptyState.tsx +++ b/package/DataTableEmptyState.tsx @@ -19,7 +19,7 @@ export function DataTableEmptyState({ icon, text, pt, pb, active, children }: Da )} - + {text} diff --git a/package/DataTablePageSizeSelector.tsx b/package/DataTablePageSizeSelector.tsx index b474f1b0b..09950e5d0 100644 --- a/package/DataTablePageSizeSelector.tsx +++ b/package/DataTablePageSizeSelector.tsx @@ -37,7 +37,9 @@ export function DataTablePageSizeSelector({ }: DataTablePageSizeSelectorComponentProps) { return ( - {label} + + {label} +