Download wp-calypso/client/lib/features-helper/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 262 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/lib/features-helper/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/lib/features-helper/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/lib/features-helper/index.js
262 Bytes
| import { createRoot } from 'react-dom/client'; | |
| import FeatureList from './feature-list'; | |
| import './style.scss'; | |
| /** | |
| * @param element HTML Element | |
| */ | |
| export default function injectFeatureHelper( element ) { | |
| createRoot( element ).render( <FeatureList /> ); | |
| } | |