Skip to content

Commit

Permalink
Merge pull request #245 from sima-land/243-breadcrumbs-revision
Browse files Browse the repository at this point in the history
Шаг 2 #243 Breadcrumbs: добавить возможность отслуживать события
  • Loading branch information
krutoo authored Apr 16, 2024
2 parents 31d870e + 03e2d51 commit 5dc27f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ export function Primary() {
<BreadcrumbsItem.Body>Шины и Диски</BreadcrumbsItem.Body>
<BreadcrumbsItem.Dropdown>
<BreadcrumbsItem.Sibling href='#'>Какой-то текст здесь 1</BreadcrumbsItem.Sibling>
<BreadcrumbsItem.Sibling disabled>Какой-то текст здесь 2</BreadcrumbsItem.Sibling>
<BreadcrumbsItem.Sibling disabled>Шины и Диски</BreadcrumbsItem.Sibling>
<BreadcrumbsItem.Sibling href='#'>Какой-то текст здесь 2</BreadcrumbsItem.Sibling>
<BreadcrumbsItem.Sibling href='#'>Какой-то текст здесь 3</BreadcrumbsItem.Sibling>
<BreadcrumbsItem.Sibling href='#'>Какой-то текст здесь 4</BreadcrumbsItem.Sibling>
<BreadcrumbsItem.Sibling disabled>Какой-то текст здесь 5</BreadcrumbsItem.Sibling>
<BreadcrumbsItem.Sibling href='#'>Какой-то текст здесь 5</BreadcrumbsItem.Sibling>
<BreadcrumbsItem.Sibling href='#'>Какой-то текст здесь 6</BreadcrumbsItem.Sibling>
<BreadcrumbsItem.Sibling href='#'>Какой-то текст здесь 7</BreadcrumbsItem.Sibling>
<BreadcrumbsItem.Sibling href='#'>Какой-то текст здесь 8</BreadcrumbsItem.Sibling>
</BreadcrumbsItem.Dropdown>
</BreadcrumbsItem>

Expand Down
1 change: 1 addition & 0 deletions src/common/components/breadcrumbs/breadcrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ export function BreadcrumbsItemDropdown({
<>
{loading ? (
<div className={styles.stubs}>
{/* ВАЖНО: по гайдам нужно именно 8 штук */}
<div className={styles.stub} />
<div className={styles.stub} />
<div className={styles.stub} />
Expand Down

0 comments on commit 5dc27f5

Please sign in to comment.