@accessible/checkbox
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -14,3 +14,3 @@ import React, {CSSProperties} from 'react' | ||
} | ||
export declare const CheckboxContext: any, | ||
export declare const CheckboxContext: React.Context<CheckboxContextValue>, | ||
useCheckbox: () => CheckboxContextValue, | ||
@@ -17,0 +17,0 @@ useChecked: () => boolean, |
@@ -113,3 +113,3 @@ 'use strict' | ||
() => ({ | ||
checked, | ||
checked: checked, | ||
check: toggle.on, | ||
@@ -116,0 +116,0 @@ uncheck: toggle.off, |
@@ -14,3 +14,3 @@ import React, {CSSProperties} from 'react' | ||
} | ||
export declare const CheckboxContext: any, | ||
export declare const CheckboxContext: React.Context<CheckboxContextValue>, | ||
useCheckbox: () => CheckboxContextValue, | ||
@@ -17,0 +17,0 @@ useChecked: () => boolean, |
@@ -91,3 +91,3 @@ import _pt from 'prop-types' | ||
() => ({ | ||
checked, | ||
checked: checked, | ||
check: toggle.on, | ||
@@ -94,0 +94,0 @@ uncheck: toggle.off, |
{ | ||
"name": "@accessible/checkbox", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"homepage": "https://github.com/accessible-ui/checkbox#readme", | ||
@@ -5,0 +5,0 @@ "repository": "github:accessible-ui/checkbox", |
27789