Does SwiftUI support BigSur's new toolbar features

Is there a way to add separators to SwiftUI toolbar so that when you change the size of a splitview segment all the toolbar buttons will stay aligned with this segment? Or does it only work without SwiftUI?