All Downloads are FREE. Search and download functionalities are using the official Maven repository.

theme.keycloak.v2.admin.resources.assets.RoutableTabs-8ba6475e.js Maven / Gradle / Ivy

There is a newer version: 25.0.1
Show newest version
import{b0 as l,r as n,j as m,c0 as u}from"./index-f33eb656.js";import{T as x,d as f}from"./Tabs-5aebe4ec.js";const d=({children:t,defaultLocation:o,...r})=>{const{pathname:s}=l(),a=n.Children.toArray(t).filter(e=>n.isValidElement(e)).map(e=>e.props.eventKey.toString()),i=a.find(e=>e===decodeURI(s)),c=a.filter(e=>s.includes(e)).sort((e,p)=>e.length-p.length).pop();return m.jsx(x,{activeKey:i??c??o?.pathname??s,component:f.nav,inset:{default:"insetNone",xl:"insetLg","2xl":"inset2xl"},...r,children:t})},v=t=>({eventKey:t.pathname??"",href:u(t)});export{d as R,v as u};
//# sourceMappingURL=RoutableTabs-8ba6475e.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy