diff --git a/packages/solid/src/render/component.ts b/packages/solid/src/render/component.ts index 1a00005ae..15d9a4dff 100644 --- a/packages/solid/src/render/component.ts +++ b/packages/solid/src/render/component.ts @@ -39,13 +39,13 @@ export type VoidComponent

= {}> = Component = {}> = P & { children?: JSX.Element }; /** * `ParentComponent` allows an optional `children` prop with the usual - * type in JSX, `JSX.Element` (which allows elements, arrays, functions, etc.). + * type in JSX, `JSX.Element` (which allows elements, arrays, strings, etc.). * Use this for components that you want to accept children. */ export type ParentComponent

= {}> = Component>;