import React from 'react'; import { type IconProp } from '@atlaskit/button/new'; /** * __Icon renderer__ * * Used to support render props with icons. * * This is copied from @atlaskit/button to render IconButtons. Some IconButton's DOM element * will be re-created during SSR -> SPA hydration without using this, which delays TTVC. As * IconRenderer is already used in @atlaskit/button to mitigate this issue, add it here to * mitigate the same issue for IconButtons in navigation-system, especially for ThemedIconButton. * */ declare const IconRenderer: ({ icon: Icon }: { icon: IconProp; }) => React.JSX.Element; export default IconRenderer;