react-code-dataset / next.js /examples /cms-payload /payload /fields /richText /largeBody /Icon /index.tsx
Download next.js/examples/cms-payload/payload/fields/richText/largeBody/Icon/index.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 683 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-payload/payload/fields/richText/largeBody/Icon/index.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/cms-payload/payload/fields/richText/largeBody/Icon/index.tsx
-
curl -L -o index.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-payload/payload/fields/richText/largeBody/Icon/index.tsx
683 Bytes
| /* eslint-disable no-use-before-define */ | |
| // eslint-disable-next-line import/no-extraneous-dependencies | |
| import React from "react"; | |
| const Icon = () => ( | |
| <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25"> | |
| <path | |
| d="M6.61695 9.94917L3.16602 19.25H4.65415L5.37256 17.2102H9.41361L10.1448 19.25H11.7356L8.23337 9.94917H6.61695ZM5.80874 15.9787L7.37384 11.5399L8.96461 15.9787H5.80874Z" | |
| fill="currentColor" | |
| /> | |
| <path | |
| d="M14.2739 5.75H16.7691L21.8339 19.25H19.2457L18.1843 16.2521H12.7098L11.667 19.25H9.24635L14.2739 5.75ZM13.3988 14.2783H17.4767L15.4284 8.48724L13.3988 14.2783Z" | |
| fill="currentColor" | |
| /> | |
| </svg> | |
| ); | |
| export default Icon; | |