Skip to content

RingProps beta ​

Interface of @v12-engine/client/hud

ts
export interface RingProps

What a Ring is given

Members ​

badge ​

ts
badge?: JSX.Element;

What sits on its foot, over the ring: a level

children ​

ts
children?: JSX.Element;

What is in it: a portrait

class ​

ts
class?: string;

CSS classes added to the ring's element

name ​

ts
name?: string;

What it is, for who cannot see it: "Experience"

size ​

ts
size?: number;

How wide it is, in pixels

thickness ​

ts
thickness?: number;

How thick the ring is

tone ​

ts
tone?: HudTone;

The colour of the ring, a tone of the theme

value ​

ts
value: number;

How far around it is filled, 0..1