From 77b4ea03fe7b00af623eefc841dcb21ae06603d3 Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Thu, 10 Oct 2019 10:02:12 -0600 Subject: [PATCH] Export useRenderToText to top-level package --- src/components/index.js | 2 +- src/components/inner_text/index.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/index.js b/src/components/index.js index fd38b68bb40..3d2165430eb 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -150,7 +150,7 @@ export { ICON_TYPES, EuiIcon } from './icon'; export { EuiImage } from './image'; -export { useInnerText, EuiInnerText } from './inner_text'; +export { useInnerText, EuiInnerText, useRenderToText } from './inner_text'; export { EuiI18n, EuiI18nNumber } from './i18n'; diff --git a/src/components/inner_text/index.ts b/src/components/inner_text/index.ts index f5b8b525632..7b2450f3756 100644 --- a/src/components/inner_text/index.ts +++ b/src/components/inner_text/index.ts @@ -1 +1,2 @@ export { useInnerText, EuiInnerText } from './inner_text'; +export { useRenderToText } from './render_to_text';