Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add breadcrumb #268

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open

Conversation

creampnx-x
Copy link

@creampnx-x creampnx-x commented Nov 24, 2022

feature

  • hope-ui v0.x
  • Collapsed breadcrumb

Example

<Breadcrumb separator="/" maxItem={4}>
  <BreadcrumbItem>
    <BreadcrumbLink href="http://baidu.com">Baidu</BreadcrumbLink>
    <BreadcrumbSeparator />
  </BreadcrumbItem>

  <BreadcrumbItem>
    <BreadcrumbLink href="http://google.com">Google</BreadcrumbLink>
    <BreadcrumbSeparator />
  </BreadcrumbItem>

  <BreadcrumbItem>
    <BreadcrumbLink href="http://bing.com" currentPage>
      Bing
    </BreadcrumbLink>
  </BreadcrumbItem>
</Breadcrumb>

screen shot

image

@creampnx-x creampnx-x marked this pull request as ready for review November 27, 2022 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant