text: var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(exports,"__esModule",{value:true});exports.default=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _react=_interopRequireWildcard(require("react"));var _reactNative=require("react-native");var _Stack=require("../../primitives/Stack");var _Context=require("./Context");var _useHasResponsiveProps=require("../../../hooks/useHasResponsiveProps");var _this=this,_jsxFileName="/Users/adityajamuar/Sites/projects/nativebase/NativeBase/src/components/composites/Breadcrumb/BreadcrumbItem.tsx";var BreadcrumbItem=function BreadcrumbItem(props,ref){var children=props.children,isCurrent=props.isCurrent,_text=props._text,remainingProps=(0,_objectWithoutProperties2.default)(props,["children","isCurrent","_text"]);if((0,_useHasResponsiveProps.useHasResponsiveProps)(props)){return null;}return _react.default.createElement(_Context.BreadcrumbItemContext.Provider,{value:{isCurrent:isCurrent},__self:_this,__source:{fileName:_jsxFileName,lineNumber:16,columnNumber:5}},_react.default.createElement(_Stack.HStack,(0,_extends2.default)({},remainingProps,{ref:ref,__self:_this,__source:{fileName:_jsxFileName,lineNumber:17,columnNumber:7}}),_react.default.Children.map(children,function(child,index){return _react.default.cloneElement(child,(0,_extends2.default)({'key':"breadcrumb-item-"+index,'_text':(0,_extends2.default)({},_text,{fontWeight:700})},{isUnderlined:false},remainingProps,{'aria-current':_reactNative.Platform.OS==='web'&&isCurrent?'page':undefined}));})));};var _default=(0,_react.memo)((0,_react.forwardRef)(BreadcrumbItem));exports.default=_default;
  //# sourceMappingURL=BreadcrumbItem.js.map