Status

Overview

Provides one of a number of coloured shapes that can be used to help distinguish the various status levels. These have been taken from the engineering standards, and additional logos were added.

_images/status.png

Example

import { Status } from @ska-telescope/ska-javascript-components’;

<Status testId=”statusTestId” />

Properties

Property

Type

Required

default

level

number

No

9

Valid range is 0 - 5. Anything outside that range is empty. Success = 0.

size

number

No

12

This provides both height & width

testId

string

Yes

Unique identifier used for testing

text

string

No

String that will be displayed upon the shape. Single character only recommended

Constants

None

Testing Identifier

Provided by the property testId