From 0d6b99113192f648688afffe4f7391ab5076329d Mon Sep 17 00:00:00 2001 From: Dylan Kilgore Date: Mon, 12 Sep 2022 13:44:03 -0700 Subject: [PATCH] fix: config provider: export children prop type --- src/components/ConfigProvider/ConfigProvider.types.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/ConfigProvider/ConfigProvider.types.ts b/src/components/ConfigProvider/ConfigProvider.types.ts index 2c7733fe2..93a77c877 100644 --- a/src/components/ConfigProvider/ConfigProvider.types.ts +++ b/src/components/ConfigProvider/ConfigProvider.types.ts @@ -1,3 +1,4 @@ +import React from 'react'; import { IRegisterFont, IRegisterTheme, @@ -42,6 +43,10 @@ export interface IConfigContext { } export interface ConfigProviderProps { + /** + * The child component renderer. + */ + children?: React.ReactNode; /** * Used by the disabled context provider to disable components. */