CommonProps
@akhaled01/void • Docs
@akhaled01/void / types/jsx / CommonProps
Interface: CommonProps
CommonProps defines the general properties that can be applied to most HTML elements.
Extended by
Properties
className?
optional
className:string
A string representing one or more CSS classes to be applied to the element.
Defined in
id?
optional
id:string
A string representing the unique ID of the element.
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