|
Download wp-calypso/client/components/akismet-logo/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 582 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/akismet-logo/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/components/akismet-logo/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/components/akismet-logo/README.md
582 Bytes
| # AkismetLogo (TSX) | |
| This component is used to display an Akismet Logo | |
| --- | |
| ## How to use | |
| ```js | |
| import AkismetLogo from 'calypso/components/akismet-logo'; | |
| export default function AkismetLogoExample() { | |
| return ( | |
| <div> | |
| <AkismetLogo className="example-class" /> | |
| </div> | |
| ) | |
| } | |
| ``` | |
| ## Props | |
| - `className` : (string) Custom classname to be added to the SVG element in addition to the default "akismet-logo" class | |
| - `size` : ( object: { height: number, width: number } ) The height and width of the logo | |
| - `color` : (string) Color of the logo |