import { IndexBar } from 'zarm';
render(
<>
<IndexBar>
<IndexBar.Anchor index="A" />
<Cell title="文本" />
<Cell title="文本" />
<Cell title="文本" />
<IndexBar.Anchor index="A" />
<Cell title="文本" />
<Cell title="文本" />
<Cell title="文本" />
</IndexBar>
</>
);
功能实现如下:
Demo