Skip to content

Commit

Permalink
fixup! Omit link to legacy list of React synthetic events in componen…
Browse files Browse the repository at this point in the history
…t documentation
  • Loading branch information
mbohal committed Jan 24, 2024
1 parent 02c8215 commit 0267046
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/components/Alert/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,12 @@ React.createElement(() => {

In addition to the options below in the [component's API](#api) section, you
can specify **any HTML attribute you like.** All attributes that don't interfere
with the API are forwarded to the root `<div>` HTML element. This enables making
the component interactive and helps to improve its accessibility.
with the API of the React component are forwarded to the root `<div>` 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.
👉 For the full list of supported attributes refer to [div HTML element attributes]
and [React common props].

## API

Expand Down Expand Up @@ -210,4 +211,5 @@ Where:
- `<PROPERTY>` is one of `color` (color of text), `foreground-color` (color of
border, icon, links, and emphasis), or `background-color`.

[div]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div#attributes
[div HTML element attributes]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div#attributes
[React common props]: https://react.dev/reference/react-dom/components/common#common-props

0 comments on commit 0267046

Please sign in to comment.