From 7e271e081d891e135f45f5bb3248eef7f0562373 Mon Sep 17 00:00:00 2001 From: Devin Riegle Date: Wed, 10 Apr 2024 13:20:58 -0600 Subject: [PATCH] docs: input should grab the input slot (#125) The Input component has a comment saying it should pull in the "label" slot but it really should pull in the "input" slot. --- exercises/04.slots/01.problem.context/slots.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/04.slots/01.problem.context/slots.tsx b/exercises/04.slots/01.problem.context/slots.tsx index 3f1a8ea9..c45ff444 100644 --- a/exercises/04.slots/01.problem.context/slots.tsx +++ b/exercises/04.slots/01.problem.context/slots.tsx @@ -14,6 +14,6 @@ export function Label(props: React.ComponentProps<'label'>) { } export function Input(props: React.ComponentProps<'input'>) { - // 🐨 get the props from useSlotProps for a slot called "label" and apply those to the input + // 🐨 get the props from useSlotProps for a slot called "input" and apply those to the input return }