<CloseButton> Component

Share
Code Editor
<CloseButton onClick={() => {}} ariaLabel="Close video" />
NameDescription
appearance
string
Display on light or dark background.
Options: "light", "dark"
size
string
The size of rendered button.
Options: "medium", "large"
className
string
Optional class to be added to the button element.
onClick*
function
A function that will be called when the button is clicked.
disabled
boolean
If true, button will be disabled.
ariaLabel
string
A label that describes the buttons action. Applied as aria-label value.