import e from"react";import t from"../Stack/Stack.js";import r from"../Text/Text.js";import m from"./BreadcrumbSeparator.js";import{withEllipsis as a}from"../../utils/stringUtils.js";const o=({names:o})=>e.createElement(t,{alignItems:"center",row:!0},o.map(((t,n)=>e.createElement(e.Fragment,{key:`BreadcrumbSubItem-${n}`},e.createElement(r,{component:"span"},a(t,40)),n!==o.length-1&&e.createElement(m,null)))));export{o as default};
//# sourceMappingURL=BreadcrumbSubItem.js.map
