mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 17:43:35 -06:00
* 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
20 lines
491 B
TypeScript
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>
|
|
);
|
|
};
|