From 460abdf34b9387b7d9a4b6d7eeb5c33b215483b0 Mon Sep 17 00:00:00 2001 From: Devin Riegle Date: Wed, 10 Apr 2024 13:18:22 -0600 Subject: [PATCH] docs: input should grab the input slot 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 }