DefaultTooltipContent

This component is by default rendered inside the Tooltip component. You would not use it directly.

You can use this component to customize the content of the tooltip, or you can provide your own completely independent content.

Props

  • accessibilityLayerbooleanoptional

    默认值:false

  • contentStyleReact.CSSPropertiesoptional

    默认值:{"margin":0,"padding":10,"backgroundColor":"#fff","border":"1px solid #ccc","whiteSpace":"nowrap"}

  • formatterFormatter<TValue, TName>optional

  • itemSorter"dataKey" | "name" | "value" | Functionoptional

  • itemStyleReact.CSSPropertiesoptional

    默认值:{"display":"block","paddingTop":4,"paddingBottom":4,"color":"#000"}

  • labelReactNodeoptional

  • labelClassNamestringoptional

  • labelFormatterFunctionoptional

  • labelStyleReact.CSSPropertiesoptional

    默认值:{}

  • payloadArray<readonly Payload<TValue, TName>>optional

  • separatorstringoptional

    默认值:" : "

  • wrapperClassNamestringoptional