From e4aafcf7b9136c9add89466db59a3ffb88c8fc86 Mon Sep 17 00:00:00 2001 From: ArturAbdullin Date: Mon, 18 Mar 2024 15:55:28 +0300 Subject: [PATCH] feat(withTableSettings): deprecate the renderControls prop --- .../withTableSettings/TableColumnSetup/TableColumnSetup.tsx | 3 +++ .../Table/hoc/withTableSettings/withTableSettings.tsx | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/components/Table/hoc/withTableSettings/TableColumnSetup/TableColumnSetup.tsx b/src/components/Table/hoc/withTableSettings/TableColumnSetup/TableColumnSetup.tsx index 4ad867e1cd..c700d29b8b 100644 --- a/src/components/Table/hoc/withTableSettings/TableColumnSetup/TableColumnSetup.tsx +++ b/src/components/Table/hoc/withTableSettings/TableColumnSetup/TableColumnSetup.tsx @@ -187,6 +187,9 @@ export interface TableColumnSetupProps { popupWidth?: TreeSelectProps['popupWidth']; popupPlacement?: PopperPlacement; + /** + * @deprecated + */ renderControls?: RenderControls; } diff --git a/src/components/Table/hoc/withTableSettings/withTableSettings.tsx b/src/components/Table/hoc/withTableSettings/withTableSettings.tsx index e9e85913d6..5dde42b076 100644 --- a/src/components/Table/hoc/withTableSettings/withTableSettings.tsx +++ b/src/components/Table/hoc/withTableSettings/withTableSettings.tsx @@ -124,6 +124,9 @@ export interface WithTableSettingsProps { settings: TableSettingsData; updateSettings: (data: TableSettingsData) => void; + /** + * @deprecated + */ renderControls?: RenderControls; }