UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

2 lines (1 loc) 395 B
import{jsx as r,jsxs as e,Fragment as t}from"react/jsx-runtime";import m from"react";import{BreadcrumbsContainer as o,BreadcrumbsSeparator as i}from"./styled.js";export{BreadcrumbsItem}from"./styled.js";const n=({children:n})=>r(o,{children:m.Children.map(n,((o,c)=>e(t,{children:[r(m.Fragment,{children:o},c),c!==m.Children.count(n)-1&&r(i,{},`separator-${c}`)]})))});export{n as Breadcrumbs};