Skip to main content

propTypes

@elastic/chartsExports


@elastic/charts / RectAnnotation / propTypes

Variable: propTypes?

propTypes?: undefined | WeakValidationMap<SFProps<RectAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "outside", SFOptionalKeys<RectAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "outside">, SFRequiredKeys<RectAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "outside", SFOptionalKeys<RectAnnotationSpec, "chartType" | "specType", "zIndex" | "groupId" | "annotationType" | "outside">>>>

Used to declare the types of the props accepted by the component. These types will be checked during rendering and in development only.

We recommend using TypeScript instead of checking prop types at runtime.

See

React Docs

Source

node_modules/@types/react/index.d.ts:1147


Generated using typedoc-plugin-markdown and TypeDoc