PropsWithChildren
@elastic/charts • Exports
@elastic/charts / PropsWithChildren
Type alias: PropsWithChildren<ChildrenProps, ExtraProps, Props>
PropsWithChildren<
ChildrenProps
,ExtraProps
,Props
>:Object
&ChildrenProps
&ExtraProps
&Neverify
<Props
>
Defines exported component props with union of props with children
Type declaration
children
children:
ReactNode
Type parameters
• ChildrenProps extends Record
<string
, unknown
> = Record
<string
, any
>
• ExtraProps extends Record
<string
, unknown
> = Record
<string
, any
>
• Props extends Record
<string
, unknown
> = Record
<string
, any
>
Source
packages/charts/src/components/tooltip/types.ts:94
Generated using typedoc-plugin-markdown and TypeDoc