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