Tooltip explaining the player's name setting
This commit is contained in:
parent
b9c7c0828a
commit
bf6bf2e8a8
|
@ -221,9 +221,14 @@ export const SettingsPopup = (): JSX.Element => {
|
|||
</div>
|
||||
|
||||
<div>
|
||||
<h3 className="text-xl">{format("player_name")}</h3>
|
||||
<div className="flex place-content-center place-items-center gap-1">
|
||||
<h3 className="text-xl">{format("player_name")}</h3>
|
||||
<ToolTip content={format("player_name_tooltip")} placement="top">
|
||||
<Ico icon="info" />
|
||||
</ToolTip>
|
||||
</div>
|
||||
<TextInput
|
||||
placeholder="<player>"
|
||||
placeholder="(player)"
|
||||
className="w-48"
|
||||
value={playerName}
|
||||
onChange={(newName) => {
|
||||
|
|
|
@ -183,4 +183,5 @@ export interface ICUParams {
|
|||
weapons_description: never;
|
||||
level_x: { x: Date | boolean | number | string };
|
||||
story_x: { x: Date | boolean | number | string };
|
||||
player_name_tooltip: never;
|
||||
}
|
||||
|
|
|
@ -190,6 +190,7 @@ query localDataGetWebsiteInterfaces {
|
|||
weapons_description
|
||||
level_x
|
||||
story_x
|
||||
player_name_tooltip
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue