@wordpress/components
Version:
UI components for WordPress.
28 lines (16 loc) • 359 B
Markdown
# Spinner
`Spinner` is a component that notify users that their action is being processed.
## Usage
```jsx
import { Spinner } from '@wordpress/components/ui';
function Example() {
return <Spinner />;
}
```
## Props
##### color
**Type**: `CSSProperties['color']`
The color of the `Spinner`.
##### size
**Type**: `number`
The size of the `Spinner`.