Skip to main content

displayName

@elastic/charts • Exports


@elastic/charts / SmallMultiples / displayName

Variable: displayName?

displayName?: undefined | string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.

See​

Legacy React Docs

Example​


const MyComponent: FC = () => {
return <div>Hello!</div>
}

MyComponent.displayName = 'MyAwesomeComponent'

Source​

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


Generated using typedoc-plugin-markdown and TypeDoc