useIsPHIconReady
Installation
import { useIsPHIconReady } from 'uxp/components';Signature
function useIsPHIconReady(iconName?: string): booleanExamples
tsx
const ready = useIsPHIconReady('house');
if (!ready) return <SkeletonLoader />;
return <ph-house weight="bold" />;Last updated