import React from 'react'
import Breadcrumbs from './index'

export const BasicBreadcrumbs = () => (
  <div style={{ width: '100%', border: '5px solid #e8e8e8' }}>
    <Breadcrumbs
      breadcrumbList={[
        {
          link: 'path',
          key: 'metadata',
          name: '名称',
          back: () => {
            console.log('回调函数')
          }
        },
        {
          key: 'metadata2',
          name: '名称'
        },
        {
          key: 'metadata3',
          name: '名称'
        }
      ]}
    />
  </div>
)
