Add icon directive which wraps EuiIcon. (#16561)
This commit is contained in:
parent
213015ad08
commit
ca283c7763
|
@ -6,16 +6,15 @@ import {
|
|||
|
||||
import {
|
||||
EuiConfirmModal,
|
||||
EuiIcon,
|
||||
} from '@elastic/eui';
|
||||
|
||||
import { uiModules } from 'ui/modules';
|
||||
|
||||
const app = uiModules.get('app/kibana', ['react']);
|
||||
|
||||
app.directive('toolBarSearchBox', function (reactDirective) {
|
||||
return reactDirective(KuiToolBarSearchBox);
|
||||
});
|
||||
app.directive('toolBarSearchBox', reactDirective => reactDirective(KuiToolBarSearchBox));
|
||||
|
||||
app.directive('confirmModal', function (reactDirective) {
|
||||
return reactDirective(EuiConfirmModal);
|
||||
});
|
||||
app.directive('confirmModal', reactDirective => reactDirective(EuiConfirmModal));
|
||||
|
||||
app.directive('icon', reactDirective => reactDirective(EuiIcon));
|
||||
|
|
Loading…
Reference in a new issue