import { __rest, __assign } from '../../node_modules/tslib/tslib.es6.js';
import React from 'react';
import { useMultiStyleConfig, BreadcrumbLink as BreadcrumbLink$1 } from '@chakra-ui/react';

var BreadcrumbLink = function (_a) {
    var children = _a.children, itemProps = __rest(_a, ["children"]);
    var styles = useMultiStyleConfig('Breadcrumbs');
    var href = itemProps.href;
    return href ? (React.createElement(BreadcrumbLink$1, __assign({ __css: styles.link, href: href }, itemProps), children)) : (children);
};

export { BreadcrumbLink as default };
//# sourceMappingURL=Link.js.map
