Skip to content

RecordItem

Brief component description
name
type
default
description
as
"button" | "a"
-
-
icon
ReactNode
-
-
inline
boolean
false
-
keyLabel
ReactNode
-
-
keySublabel
ReactNode
-
-
link
string
-
-
postfixIcon
FunctionComponent<SVGProps<SVGSVGElement> & { title?: string | undefined; }>
-
-
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}
size
"small" | "large"
small
-
value *
Required
string
-
-
onClick
() => void
-
-
v1.0