Spinner

Component

A spinner component to indicate loading state.

Usage

<Spinner size="normal" />
<Spinner size="normal" color="yellow"

Props

color?

The color of the spinner.

type

React.CSSProperties['color']

default value

'currentColor'

inline?

Whether the spinner is inline.

type

boolean

default value

false

size?

The size of the spinner.

type

'normal' | 'medium' | 'large'

default value

'normal'