- let customizeColumn = {
- if !hideRightTitleElement {
-
)
- buttonType=SecondaryFilled
- buttonSize=Small
- onClick={_ => setShowColumnSelector(_ => true)}
- />
- } else {
- React.null
- }
- }
+ let customizeColumn =
+
+
+ )
+ text="Customize Columns"
+ buttonType=SecondaryFilled
+ buttonSize=XSmall
+ onClick={_ => setShowColumnSelector(_ => true)}
+ />
+
+
let rightTitleElement = !previewOnly ? customizeColumn : React.null
diff --git a/src/components/RemoteFilter.res b/src/components/RemoteFilter.res
index 4b90d4a92..ac3d24444 100644
--- a/src/components/RemoteFilter.res
+++ b/src/components/RemoteFilter.res
@@ -902,28 +902,26 @@ let make = (
>
let fieldWrapperClass = None
-