We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a307969 commit 16c2959Copy full SHA for 16c2959
exercises/05.prop-getters/02.problem.getters/toggle.tsx
@@ -5,7 +5,7 @@ export function useToggle() {
5
const toggle = () => setOn(!on)
6
7
// 🐨 create a function called getTogglerProps that accepts an object
8
- // of props and returns an object of props that includes 'aria-clicked' and onClick.
+ // of props and returns an object of props that includes 'aria-checked' and onClick.
9
10
// 💰 Make sure to handle the case where the user provides their own
11
// 'aria-checked' and 'onClick' props (as well as if they don't or if they
0 commit comments