I want to use a pivot in Fluent UI to display the menu.
<Pivot linkSize={PivotLinkSize.large}>
<PivotItem headerText='userInfo' headerButtonProps={}>
<UserPage />
</PivotItem>
<PivotItem headerText='userConfig'>
<UserSetting />
</PivotItem>
<PivotItem headerText='Store'>
<StorePage />
</PivotItem>
<PivotItem headerText='SubInfo'>
<SubInfo />
</PivotItem>
</Pivot>
It displays like this:
But I want to let the Pivot Header to the center, I have tried to change the styles attribute, but didn't have any progress.
How to align the the Pivot Header to center?