<CloseButton>
Component<CloseButton onClick={() => {}} ariaLabel="Close video" />
Name | Description |
---|---|
appearance string | Display on light or dark background. |
size string | The size of rendered button. |
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. |