SolidJSS
SolidJSโ€ข3y agoโ€ข
2 replies
binajmen

How to Inform children of the active status of it's parent <A/>

I'm looking at something like:
<A href=".." class=".." activeClass="..">
  {({ active }) =>
    <span classList={{ "my-class": active }}>..</span>
  }
</A>
Was this page helpful?