From 110bb8773adf1b88b89dfefdf7ea8b42b70c2d4a Mon Sep 17 00:00:00 2001 From: Anton Dosov Date: Mon, 8 Nov 2021 15:16:49 +0100 Subject: [PATCH] fix exports --- packages/kbn-react-field/src/field_button/index.ts | 3 ++- packages/kbn-react-field/src/field_icon/index.ts | 3 ++- packages/kbn-react-field/src/index.ts | 6 ++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/packages/kbn-react-field/src/field_button/index.ts b/packages/kbn-react-field/src/field_button/index.ts index 17c2321c00407..15857540baefc 100644 --- a/packages/kbn-react-field/src/field_button/index.ts +++ b/packages/kbn-react-field/src/field_button/index.ts @@ -6,4 +6,5 @@ * Side Public License, v 1. */ -export { FieldButton, FieldButtonProps, ButtonSize } from './field_button'; +export { FieldButton } from './field_button'; +export type { FieldButtonProps, ButtonSize } from './field_button'; diff --git a/packages/kbn-react-field/src/field_icon/index.ts b/packages/kbn-react-field/src/field_icon/index.ts index 431525fc8e428..fa70a445cdb24 100644 --- a/packages/kbn-react-field/src/field_icon/index.ts +++ b/packages/kbn-react-field/src/field_icon/index.ts @@ -6,4 +6,5 @@ * Side Public License, v 1. */ -export { FieldIcon, FieldIconProps } from './field_icon'; +export { FieldIcon } from './field_icon'; +export type { FieldIconProps } from './field_icon'; diff --git a/packages/kbn-react-field/src/index.ts b/packages/kbn-react-field/src/index.ts index af50b139a2918..fa7a34db3e879 100644 --- a/packages/kbn-react-field/src/index.ts +++ b/packages/kbn-react-field/src/index.ts @@ -6,5 +6,7 @@ * Side Public License, v 1. */ -export { FieldIconProps, FieldIcon } from './field_icon'; -export { FieldButtonProps, ButtonSize, FieldButton } from './field_button'; +export { FieldIcon } from './field_icon'; +export type { FieldIconProps } from './field_icon'; +export { FieldButton } from './field_button'; +export type { FieldButtonProps, ButtonSize } from './field_button';