From 02c8215ee618461c2caa36decd83ee0385e10d56 Mon Sep 17 00:00:00 2001 From: Martin Bohal Date: Wed, 10 Jan 2024 11:15:15 +0100 Subject: [PATCH] Omit link to legacy list of React synthetic events in component documentation --- src/components/Alert/README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/Alert/README.md b/src/components/Alert/README.md index 0009db04..c3e2c4aa 100644 --- a/src/components/Alert/README.md +++ b/src/components/Alert/README.md @@ -171,10 +171,9 @@ React.createElement(() => { ## Forwarding HTML Attributes In addition to the options below in the [component's API](#api) section, you -can specify [React synthetic events] or **any HTML attribute you like.** All -attributes that don't interfere with the API are forwarded to the root `
` -HTML element. This enables making the component interactive and helps to improve -its accessibility. +can specify **any HTML attribute you like.** All attributes that don't interfere +with the API are forwarded to the root `
` HTML element. This enables making +the component interactive and helps to improve its accessibility. 👉 Refer to the MDN reference for the full list of supported attributes of the [div] element. @@ -211,5 +210,4 @@ Where: - `` is one of `color` (color of text), `foreground-color` (color of border, icon, links, and emphasis), or `background-color`. -[React synthetic events]: https://reactjs.org/docs/events.html [div]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div#attributes