Kuis TypeScript dengan React — React

Kuis materi TypeScript dengan React di React — uji pemahamanmu dengan pertanyaan pilihan ganda, penjelasan jawaban, dan skor langsung. Main gratis di Hyper Sheets.

Pertanyaan di kuis ini

  1. Lengkapi tipe props komponen:
    interface ButtonProps {
      label: string;
      onClick: () => ___;
    }
  2. Lengkapi tipe children:
    interface LayoutProps { children: React.___; }
  3. Lengkapi tipe event handler:
    const handleChange = (e: React.___<HTMLInputElement>) => {}