Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 371 Bytes

useEnsAvatar.md

File metadata and controls

27 lines (20 loc) · 371 Bytes

useEnsAvatar

Returns avatar link for the ens

Usage

import { useEnsAvatar } from '@nazeeh2000/comp-kit'

const Comp = () => {
  const { avatar } = useEnsAvatar({
    ensName: 'wagmi-dev.eth'
  });

   return (
   // Your component
   )
}

Return Values

const { avatar, fetching, error } = useEnsAvatar({
  ensName: 'wagmi-dev.eth',
});