Add extraActions fallback to MasterDetai and DataTable

Summary: Old MasterDetail and DataTable (pre-power search) are using `extraActions` prop which no longer exists in teh new components. This diff adds a fallback.

Reviewed By: ivanmisuno

Differential Revision: D49869730

fbshipit-source-id: 4c1a658aa94acc770836f9bf296a3df7d6cdcb3e
This commit is contained in:
Andrey Goncharov
2023-10-03 09:13:02 -07:00
committed by Facebook GitHub Bot
parent 9d83697168
commit 1e81fe636a
2 changed files with 5 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ export function MasterDetailWithPowerSearch<T extends object>({
sidebarSize,
onSelect,
actionsTop,
extraActions,
enableMenuEntries,
enableClear,
isPaused,
@@ -232,6 +233,7 @@ export function MasterDetailWithPowerSearch<T extends object>({
</>
}
actionsTop={actionsTop}
extraActions={extraActions}
/>
);