Spin
Spin
Note that Spin is built with SVG inside.
jsx
import Spin from '@semcore/ui/spin';
<Spin />;
SpinProps
& {...}Name | Type | Description |
---|---|---|
size | Spinner size | |
theme | "dark" | "invert" | string | Spinner theme. There are several default themes or you can use your own color |
centered | boolean | Whether the spinner should be in the center of the parent. This works for a nested spinner in flex, otherwise only horizontal alignment will occur. |
locale | string |