You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've noticed that we're not able to set an id on some HIG elements, such as <Accordion> ("@hig/accordion": "^1.1.1",), so we've been wrapping these as follows:
exportdefaultfunctionAccordionWrapper({ id, label, children, className =undefined}){// span is because HIG's accordion doesn't support setting an IDreturn<spanid={id}><Accordionlabel={label}defaultCollapsed={isCollapsed(id)}onClick={()=>storeInvertedCollapsed(id)}className={className||''}>{children}</Accordion></span>;}
To be done
review the existing components' application of id attributes
form a list of elements that do not permit the id attribute to be set
apply the existing pattern found in pt 1 above to the items in pt 2
We've noticed that we're not able to set an
id
on some HIG elements, such as<Accordion>
("@hig/accordion": "^1.1.1",), so we've been wrapping these as follows:To be done
id
attributesid
attribute to be setcc: @wmui51, re: slack converstion about this issue
The text was updated successfully, but these errors were encountered: