Download wp-calypso/client/layout/sidebar-v2/index.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 489 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/layout/sidebar-v2/index.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/layout/sidebar-v2/index.tsx
-
curl -L -o index.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/layout/sidebar-v2/index.tsx
489 Bytes
| export * from './header'; | |
| export * from './main'; | |
| export * from './footer'; | |
| export * from './navigator'; | |
| export * from './navigator/navigator-menu'; | |
| export * from './navigator/navigator-menu-item'; | |
| import clsx from 'clsx'; | |
| import './style.scss'; | |
| type Props = { | |
| className?: string; | |
| children: React.ReactNode; | |
| }; | |
| const SidebarV2 = ( { children, className = '' }: Props ) => { | |
| return <nav className={ clsx( 'sidebar-v2', className ) }>{ children }</nav>; | |
| }; | |
| export default SidebarV2; | |