server/common/base/base

Interfaces

BaseProps

Defined in: server/common/base/base.tsx:4

Interface declaring the common properties of the loaders

Extends

Extended by

Properties

color?

optional color: string

Defined in: server/common/base/base.tsx:10

Color of the dots - CSS compatible color

Overrides

HTMLProps.color

height?

optional height: string | number

Defined in: server/common/base/base.tsx:8

height of the loader element in pixels or a string with a length unit.

Overrides

HTMLProps.height

width?

optional width: string | number

Defined in: server/common/base/base.tsx:6

width of the loader element in pixels or a string with a length unit.

Overrides

HTMLProps.width


OtherProps

Defined in: server/common/base/base.tsx:14

Other props - loaderClass is included here as we will extend BaseProps for other loaders

Properties

dotRadius?

optional dotRadius: string | number

Defined in: server/common/base/base.tsx:17

loaderClass

loaderClass: string

Defined in: server/common/base/base.tsx:16

Loader class name

Functions

Base()

Base(__namedParameters: BaseProps & OtherProps): Element

Defined in: server/common/base/base.tsx:25

Base component to avoid code duplication

default values should be specified in css files - so no need to set them in JSX

Parameters

__namedParameters

BaseProps & OtherProps

Returns

Element