Skip to content

CurrencyToggle

Brief component description
import { CurrencyToggle } from '@ensdomains/thorin'
<CurrencyToggle />

Props
#

name
type
default
description
fiat
string
usd
-
ref
null | string | (instance: HTMLInputElement | null) => void | RefObject<HTMLInputElement>
-
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}
size
"extraSmall" | "small" | "medium"
medium
-

Sizes
#

Disabled
#

Edit on GitHub