We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f67667 commit 791f9c5Copy full SHA for 791f9c5
packages/@react-types/checkbox/src/index.d.ts
@@ -45,7 +45,7 @@ export interface ToggleStateOptions extends InputBase {
45
onChange?: (isSelected: boolean) => void
46
}
47
48
-export interface ToggleProps extends ToggleStateOptions, Validation, FocusableProps {
+export interface ToggleProps extends ToggleStateOptions, Validation<boolean>, FocusableProps {
49
/**
50
* The label for the element.
51
*/
0 commit comments