AnchorProps
@akhaled01/void • Docs
@akhaled01/void / types/jsx / AnchorProps
Interface: AnchorProps
Defines properties for the <a>
(anchor) element, extending CommonProps.
Extends
Properties
className?
optional
className:string
A string representing one or more CSS classes to be applied to the element.
Inherited from
Defined in
href?
optional
href:string
The URL that the hyperlink points to.
Defined in
id?
optional
id:string
A string representing the unique ID of the element.
Inherited from
Defined in
rel?
optional
rel:string
Specifies the relationship between the current document and the linked document.
Defined in
style?
optional
style:object
An object representing inline CSS styles, where the keys are CSS property names and the values are the corresponding styles (either strings or numbers).
Index Signature
[key
: string
]: string
| number
Inherited from
Defined in
target?
optional
target:string
Specifies where to open the linked document. Common values are _blank
, _self
, etc.