import React from 'react' ; import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context' ; import { useBreadcrumb } from '../../../context/breadcrumbs/use_breadcrumb' ; export const Breadcrumb = ( { title , href , children , } ) => { const { core } = useApmPluginContext ( ) ; useBreadcrumb ( { title , href : core . http . basePath . prepend ( '/app/apm' + href ) } ) ; return children ; } ;