Card.Info.CloseButton events#
| Type | Description | |
|---|---|---|
onClick | function | (optional) Called when the close control is activated. The application controls dismissal and focus after removal. |
Card.Info.MediaButton events#
| Type | Description | |
|---|---|---|
onClick | (event: React.MouseEvent<HTMLButtonElement>) => void | boolean | (optional) Runs before toggling playback. Return false or preventDefault() to cancel the toggle. Playback resumes from the current position. |
Card.Action events#
| Type | Description | |
|---|---|---|
onClick | function | (optional) Click handler. When used without href/to, renders a button-like wrapper with keyboard support (Enter/Space). |