Angular @ViewChild() error: Expected 2 arguments, but got 1

Source: https://stackoverflow.com/questions/56704164/angular-viewchild-error-expected-2-arguments-but-got-1

In Angular 8 , ViewChild takes 2 parameters
 @ViewChild(ChildDirective, {static: false}) Component

Không có nhận xét nào:

StaticImage

  import React , { useEffect , useRef } from "react" import { StaticImage } from "gatsby-plugin-image" impor...