Home > @uniformdev/richtext > linkParamValueToAnchorProps
linkParamValueToAnchorProps() function
Converts a link parameter value into a React-compatible anchor prop bag. Delegates to linkParamValueToHtmlAttributes for the security denylist / auto-rel logic, then renames the literal class key to className for React.
Signature:
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
link |
LinkParamValue |
Returns:
Record<string, string>