PropsOrChildrenWithProps
@elastic/charts • Exports
@elastic/charts / PropsOrChildrenWithProps
Type alias: PropsOrChildrenWithProps<Props, ChildrenProps, ExtraProps>
PropsOrChildrenWithProps<
Props,ChildrenProps,ExtraProps>:PropsWithChildren<ChildrenProps,ExtraProps,Props> |PropsWithoutChildren<Props,ExtraProps,ChildrenProps>
Type used to define a union including and excluding children as a prop
Type parameters
• Props extends Record<string, unknown> = Record<string, any>
• ChildrenProps extends Record<string, unknown> = Record<string, any>
• ExtraProps extends Record<string, unknown> = Record<string, any>
Source
packages/charts/src/components/tooltip/types.ts:122
Generated using typedoc-plugin-markdown and TypeDoc