Skip to content

Commit 0c55ff0

Browse files
docs: correct terminology from attributes to properties (#7188)
Co-authored-by: Marcus Notheis <marcus.notheis@sap.com>
1 parent 04fecc4 commit 0c55ff0

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.storybook/components/DomRefTable.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,15 @@ export function DomRefTable() {
7474
<>
7575
{rows.length > 0 ? (
7676
<>
77-
<Heading>Attributes & Methods</Heading>
77+
<Heading>DOM Properties & Methods</Heading>
7878
<p>
79-
This component exposes public attributes and methods. You can use them directly on the instance of the
79+
This component exposes public properties and methods. You can use them directly on the instance of the
8080
component, e.g. by using React Refs.
8181
</p>
8282
<MessageStrip hideCloseButton style={{ marginBlockEnd: '10px' }}>
83-
This table is showing <b>additional</b> attributes and methods which are not available as props. <br />
84-
All props (without event handlers, children, and slots) are available as attributes on the DOM ref as well.
83+
This table is showing <b>additional</b> DOM properties and methods which are not available as React props.
84+
<br />
85+
All props (without event handlers, children, and slots) are available as properties on the DOM ref as well.
8586
</MessageStrip>
8687
<table>
8788
<thead>

0 commit comments

Comments
 (0)