Merged in fix/SW-2118-breadcrumbs (pull request #1721)
fix(SW-2118): changed variants for breadcrumbs to handle different background-colors and widths * fix(SW-2118): changed variants for breadcrumbs to handle different background-colors and widths Approved-by: Christian Andolf Approved-by: Linus Flood
This commit is contained in:
committed by
Linus Flood
parent
a9c6901752
commit
85a90baa12
@@ -1,7 +1,5 @@
|
||||
import type { Breadcrumb } from "./breadcrumbs"
|
||||
|
||||
export { splitBreadcrumbs }
|
||||
|
||||
function splitBreadcrumbs(
|
||||
breadcrumbs: Breadcrumb[]
|
||||
): [Breadcrumb, Breadcrumb[], Breadcrumb] {
|
||||
@@ -10,3 +8,5 @@ function splitBreadcrumbs(
|
||||
const last = copy.pop()!
|
||||
return [first, copy, last]
|
||||
}
|
||||
|
||||
export { splitBreadcrumbs }
|
||||
|
||||
Reference in New Issue
Block a user