grafana/public/app/features/api-keys/ApiKeysActionBar.tsx
Khushi Jain 0645106184
Forms: Remove some gf-form appearances in Grafana (#66735)
* Forms: Remove gf-form appearances in Grafana

* Remove gf-form appearance

* Forms: Remove gf-form appearances in Grafana

* remove gf-form

* remove gf-form

* Remove gf-form appearance

* Remove gf-form appearance

* Remove gf-form appearance

* Update UserListAdminPage.tsx

* Update UserListAdminPage.tsx

* Update UserListAdminPage
2023-05-31 09:50:53 +02:00

20 lines
491 B
TypeScript

import React from 'react';
import { FilterInput, InlineField } from '@grafana/ui';
interface Props {
searchQuery: string;
disabled: boolean;
onSearchChange: (value: string) => void;
}
export const ApiKeysActionBar = ({ searchQuery, disabled, onSearchChange }: Props) => {
return (
<div className="page-action-bar">
<InlineField grow>
<FilterInput placeholder="Search keys" value={searchQuery} onChange={onSearchChange} />
</InlineField>
</div>
);
};