Download react-query/examples/angular/devtools-panel/src/app/app.component.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 522 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/angular/devtools-panel/src/app/app.component.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/angular/devtools-panel/src/app/app.component.ts
-
curl -L -o app.component.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/examples/angular/devtools-panel/src/app/app.component.ts
522 Bytes
| import { ChangeDetectionStrategy, Component } from '@angular/core' | |
| import { RouterLink, RouterOutlet } from '@angular/router' | |
| ({ | |
| changeDetection: ChangeDetectionStrategy.OnPush, | |
| selector: 'app-root', | |
| template: ` | |
| <ul> | |
| <li> | |
| <a routerLink="basic">Basic devtools panel example</a> | |
| </li> | |
| <li> | |
| <a routerLink="lazy">Lazy load devtools panel example</a> | |
| </li> | |
| </ul> | |
| <router-outlet /> | |
| `, | |
| imports: [RouterOutlet, RouterLink], | |
| }) | |
| export class AppComponent {} | |