Set searchTooltip to Filter

Signed-off-by: Andre Wanlin <67169551+awanlin@users.noreply.github.com>
This commit is contained in:
Andre Wanlin
2022-10-12 16:36:53 -05:00
parent 433449b188
commit 5f695c219a
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Set the `searchTooltip` to "Filter" to follow how the `searchPlaceholder` is set making this more consistent
@@ -516,7 +516,9 @@ export function Table<T extends object = {}>(props: TableProps<T>) {
}
data={typeof data === 'function' ? data : tableData}
style={{ width: '100%' }}
localization={{ toolbar: { searchPlaceholder: 'Filter' } }}
localization={{
toolbar: { searchPlaceholder: 'Filter', searchTooltip: 'Filter' },
}}
{...restProps}
/>
</div>