propTypes
@elastic/charts • Exports
@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
Source
node_modules/@types/react/index.d.ts:1147
Generated using typedoc-plugin-markdown and TypeDoc