pub fn document_tabs<K: Route, P: Piece, N, C>(
tabs: TabSet<K>,
new_label: impl IntoText<N>,
close_label: impl IntoText<C>,
title: impl Fn(&K) -> String + 'static,
content: impl Fn(&K) -> P + 'static,
) -> DocumentTabs<K>Expand description
Labels are required rather than supplying untranslated English chrome.