|
Download wp-calypso/client/my-sites/plugins/plugin-sections/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/plugins/plugin-sections/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/plugins/plugin-sections/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/plugins/plugin-sections/README.md
411 Bytes
| # Plugin Sections | |
| This component is used to display the sections for a plugin as returned from the WP.org plugins API. If a plugin does not have any sections, this component will return `null`. | |
| ## How to use | |
| ```js | |
| import PluginSections from 'calypso/my-sites/plugins/plugin-sections'; | |
| function render() { | |
| return <PluginSections plugin={ plugin } />; | |
| } | |
| ``` | |
| ## Props | |
| - `plugin` : (object) A plugin object. | |