|
Download wp-calypso/packages/components/src/logos/wordpress-logo/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 908 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/components/src/logos/wordpress-logo/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/components/src/logos/wordpress-logo/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/components/src/logos/wordpress-logo/README.md
908 Bytes
WordPressLogo
WordPressLogo is a React component to display wordpress logo.
Usage
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.