Skip to main content

PropsWithoutChildren

@elastic/charts • Exports


@elastic/charts / PropsWithoutChildren

Type alias: PropsWithoutChildren<Props, ExtraProps, ChildrenProps>

PropsWithoutChildren<Props, ExtraProps, ChildrenProps>: Object & Neverify<ChildrenProps> & Props & ExtraProps

Defines exported component props with union of props without children

Type declaration​

children?​

children?: never

Type parameters​

• Props extends Record<string, unknown> = Record<string, any>

• ExtraProps extends Record<string, unknown> = Record<string, any>

• ChildrenProps extends Record<string, unknown> = Record<string, any>

Source​

packages/charts/src/components/tooltip/types.ts:108


Generated using typedoc-plugin-markdown and TypeDoc