Skip to main content

propTypes

@elastic/charts • Exports


@elastic/charts / Wordcloud / propTypes

Variable: propTypes?

propTypes?: undefined | WeakValidationMap<SFProps<WordcloudSpec, "chartType" | "specType", "data" | "fontStyle" | "fontWeight" | "fontFamily" | "padding" | "minFontSize" | "maxFontSize" | "exponent" | "startAngle" | "endAngle" | "angleCount" | "spiral" | "weightFn" | "outOfRoomCallback", never, "id">>

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