File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,11 @@ import {
9
9
SearchField ,
10
10
Table ,
11
11
TableBody ,
12
+ FieldGroup ,
12
13
TableHeader ,
14
+ SearchFieldClearButton ,
15
+ Badge ,
13
16
} from "@stacklok/ui-kit" ;
14
- import { Badge } from "@stacklok/ui-kit" ;
15
17
import { useCallback , useEffect } from "react" ;
16
18
import { BarChart } from "@/viz/BarChart" ;
17
19
import { LineChart } from "@/viz/LineChart" ;
@@ -170,7 +172,15 @@ export function Dashboard() {
170
172
value = { search }
171
173
onChange = { ( value ) => handleSearch ( value . toLowerCase ( ) . trim ( ) ) }
172
174
>
173
- < Input type = "search" placeholder = "Search..." icon = { < Search /> } />
175
+ < FieldGroup >
176
+ < Input
177
+ type = "search"
178
+ placeholder = "Search..."
179
+ isBorderless
180
+ icon = { < Search /> }
181
+ />
182
+ < SearchFieldClearButton />
183
+ </ FieldGroup >
174
184
</ SearchField >
175
185
</ div >
176
186
</ div >
You can’t perform that action at this time.
0 commit comments