|
Download wp-calypso/client/layout/masterbar/README.md from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 634 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/layout/masterbar/README.md
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/layout/masterbar/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/layout/masterbar/README.md
634 Bytes
| # Masterbar | |
| The Masterbar used across all of WordPress.com is based on this component. If | |
| changes are made to the Masterbar here, they should probably also be reflected | |
| there. | |
| These components should not be called directly. They are managed by the main | |
| layout components. | |
| ## masterbar.jsx | |
| This is the masterbar skeleton header and styling, used by logged-out.jsx and | |
| logged-in.jsx respectively, which pass their items as children to this component. | |
| ## logged-out.jsx | |
| Renders a logged-out masterbar with only a "WordPress.com" link. | |
| ## logged-in.jsx | |
| Renders the masterbar with `props.user` data for displaying the user avatar. | |