diff --git a/src/components/flyout/index.d.ts b/src/components/flyout/index.d.ts index aa33540343b1..5cd7cc47cce6 100644 --- a/src/components/flyout/index.d.ts +++ b/src/components/flyout/index.d.ts @@ -1,3 +1,28 @@ declare module '@elastic/eui' { - export const EuiFlyout: React.SFC; + export interface EuiFlyoutProps { + onClose: () => void; + size: 's' | 'm' | 'l'; + /** + * Hides the default close button. You must provide another close button somewhere within the flyout. + */ + hideCloseButton: boolean; + /** + * Locks the mouse / keyboard focus to within the flyout + */ + ownFocus: boolean; + } + + export const EuiFlyout: React.SFC< + CommonProps & + EuiFlyoutProps + >; + + export const EuiFlyoutBody: React.SFC; + + export interface EuiFlyoutHeaderProps { + hasBorder: boolean; + } + export const EuiFlyoutHeader: React.SFC; + + export const EuiFlyoutFooter: React.SFC; } \ No newline at end of file