import Breadcrumb from '..';
import React from 'react';
import ReactDOM from 'react-dom';
import { HashRouter, Link, Route, Switch } from 'react-router-dom';
ReactDOM.render(React.createElement(HashRouter, null,
    React.createElement(Breadcrumb, { separator: "/" },
        React.createElement(Breadcrumb.Item, null,
            React.createElement(Link, { to: "/" }, "Home")),
        React.createElement(Breadcrumb.Item, null,
            React.createElement(Link, { to: "/categories" }, "All Categories")),
        React.createElement(Breadcrumb.Item, null,
            React.createElement(Link, { to: "/categories/shirts" }, "Shirts")),
        React.createElement(Breadcrumb.Item, null, "Shirt 78\uFF0C999")),
    React.createElement(Switch, null,
        React.createElement(Route, { path: "/categories/shirts", render: () => React.createElement("span", null, "Shirts") }),
        React.createElement(Route, { path: "/categories", render: () => React.createElement("span", null, "All Categories") }),
        React.createElement(Route, { path: "/", render: () => React.createElement("span", null, "Home") }))), document.getElementById('collapse-demo-5'));
