RecordItem
Brief component description
import { RecordItem } from '@ensdomains/thorin'
<RecordItem icon={<FlameSVG />} value="user#123">user#123</RecordItem>
name | type | default | description |
---|---|---|---|
ref | null | string | (instance: HTMLAnchorElement | HTMLButtonElement | null) => void | RefObject<HTMLAnchorElement | HTMLButtonElement> | - | Allows getting a ref to the component instance.
Once the component unmounts, React will set `ref.current` to `null`
(or call the ref with `null` if you passed a callback ref).
@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs} |