diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 34530881..9f29881d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -166,12 +166,10 @@ To keep React UI consistent and predictable the following guidelines should be o should return `null` when no children are provided. 2. When forwarding HTML attributes to the component the following rules should be observed: - 1. If the component internally instantiates an interactive - (clickable/editable) element, the attributes should be forwarded to it. - 2. If the component internally instantiates multiple interactive + 1. If the component internally instantiates one or more interactive (clickable/editable) elements, the attributes should be forwarded to - them. - 3. If the component does not internally instantiate an interactive + all of them. + 2. If the component does not internally instantiate an interactive (clickable/editable) element, the attributes should be forwarded to the root element of the component.