sematic ui react ,是否可以将标签分成两部分?

sematic ui react , is possible split tabs on two parts?

是否可以像下图那样拆分选项卡,或者我需要使用 Menu 组件来代替?

我真的不知道怎么做。

const panes = [
    {
        menuItem: "Информация",
        render: () => <Tab.Pane attached={false}>Информация</Tab.Pane>,
    },
    {
        menuItem: "Добавить кандидатов",
        render: () => (<Tab.Pane attached={false}><AddCandidates /></Tab.Pane>),
    },
    {
        menuItem: "Календарь собеседований",
        render: () => (<Tab.Pane attached={false} className="custom-tab">
        <Calendar /></Tab.Pane>),
    },
]

<Tab
  menu={{ secondary: true, pointing: true }}
  panes={panes}
  menuPosition="right"
/>

虽然有点乱,但很管用。诀窍是使用 custom menu tab and use flexbox trick to align the last item to the right (Inspired by this post)。

像这样:

const panes = [
  { menuItem: 'Tab 1', render: () => <Tab.Pane>Tab 1 Content</Tab.Pane> },
  { menuItem: 'Tab 2', render: () => <Tab.Pane>Tab 2 Content</Tab.Pane> },
  { menuItem: 'Tab 3', render: () => <Tab.Pane>Tab 3 Content</Tab.Pane> },
  { menuItem: <Menu.Item key='messages' className="to-right">Tab 4</Menu.Item>, render: () => <Tab.Pane>Tab 3 Content</Tab.Pane> },
  { menuItem: 'Tab 5', render: () => <Tab.Pane>Tab 5 Content</Tab.Pane> },
]
.to-right {
  margin-left: auto;
}

Working example