File size: 908 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# WordPressLogo

WordPressLogo is a React component to display wordpress logo.

## Usage

```jsx
import { WordPressLogo } from '@automattic/components';

export default function MyComponent() {
	return <WordPressLogo />;
}
```

## Props

The following props can be passed to the WordPressLogo component:

| PROPERTY      | TYPE     | REQUIRED | DEFAULT            | DESCRIPTION                                     |
| ------------- | -------- | -------- | ------------------ | ----------------------------------------------- |
| **size**      | _number_ | no       | `72`               | The width and height of the spinner, in pixels. |
| **className** | _string_ | no       | `'wordpress-logo'` | The CSS class name applied to the SVG element.  |

Note that passing a class name through the `className` prop will override the default class,
rather than merging them together. We plan to fix this behavior.