Download wp-calypso/packages/components/src/icons/alert.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 620 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/components/src/icons/alert.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/components/src/icons/alert.tsx
-
curl -L -o alert.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/components/src/icons/alert.tsx
620 Bytes
| import { SVG, Path } from '@wordpress/primitives'; | |
| // TODO: replace with an icon when available. | |
| const alert = ( | |
| <SVG width="20" height="18" viewBox="0 0 20 18" fill="none" xmlns="http://www.w3.org/2000/svg"> | |
| <Path | |
| fillRule="evenodd" | |
| clipRule="evenodd" | |
| d="M10.0002 3.08864L2.54944 16.5H17.4509L10.0002 3.08864ZM10.8743 1.57344C10.4933 0.887629 9.50701 0.88763 9.12601 1.57344L0.825523 16.5143C0.455228 17.1808 0.937196 18 1.69968 18H18.3007C19.0631 18 19.5451 17.1808 19.1748 16.5143L10.8743 1.57344Z" | |
| /> | |
| <Path d="M11 7H9V12H11V7Z" /> | |
| <Path d="M11 13H9V15H11V13Z" /> | |
| </SVG> | |
| ); | |
| export default alert; | |