* Fully migrates metrics and logs to the NP Co-authored-by: Jason Rhodes <jason.matthew.rhodes@gmail.com> Co-authored-by: John Schulz <github.com@jfsiii.org> Co-authored-by: Felix Stürmer <weltenwort@users.noreply.github.com>
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
/**
|
|
* /!\ These type definitions are temporary until the upstream @elastic/eui
|
|
* package includes them.
|
|
*/
|
|
|
|
import { IconType, ToolTipPositions } from '@elastic/eui';
|
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
import moment from 'moment';
|
|
import { MouseEventHandler, ReactType, Ref } from 'react';
|
|
import { JsonObject } from '../common/typed_json';
|
|
|
|
declare module '@elastic/eui' {
|
|
interface EuiFormControlLayoutIconProps {
|
|
type: IconType;
|
|
side?: 'left' | 'right';
|
|
onClick?: React.MouseEventHandler<Element>;
|
|
}
|
|
|
|
interface EuiFormControlLayoutClearIconProps {
|
|
onClick?: React.MouseEventHandler<Element>;
|
|
}
|
|
|
|
type EuiSizesResponsive = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
type EuiResponsiveProps = CommonProps & {
|
|
children: React.ReactNode;
|
|
sizes: EuiSizesResponsive[];
|
|
};
|
|
}
|