Spacer

Overview

Component that allows for spacing to be added

Image not applicable

Example

import { SPACER_HORIZONTAL, SPACER_VERTICAL, Spacer } from @ska-telescope/ska-javascript-components’;

<Spacer />

Properties

Property

Type

Required

default

size

number

No

90

Defines the size of the space in pixels

axis

string

No

SPACER_HORIZONTAL

SPACER_HORIZONTAL or SPACER_VERTICAL permitted

Constants

  • SPACER_HORIZONTAL

  • SPACER_VERTICAL

Testing Identifier

Currently there is no requirement to specifically test this component