react-asc 23.4.0 → 23.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Button/ButtonContext.d.ts +1 -1
- package/index.es.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { COLOR } from '../component.enums';
|
|
3
3
|
export interface IButtonContext {
|
|
4
|
-
color: COLOR;
|
|
4
|
+
color: COLOR | null;
|
|
5
5
|
}
|
|
6
6
|
export declare const ButtonContext: import("react").Context<IButtonContext>;
|
|
7
7
|
export declare const useButtonContext: () => IButtonContext;
|
package/index.es.js
CHANGED
|
@@ -528,7 +528,7 @@ var styles$O = {"button":"Button-module_button__qeIer","shadow":"Button-module_s
|
|
|
528
528
|
styleInject(css_248z$O);
|
|
529
529
|
|
|
530
530
|
const ButtonContext = createContext({
|
|
531
|
-
color:
|
|
531
|
+
color: null
|
|
532
532
|
});
|
|
533
533
|
const useButtonContext = () => useContext(ButtonContext);
|
|
534
534
|
|
package/index.js
CHANGED
|
@@ -536,7 +536,7 @@ var styles$O = {"button":"Button-module_button__qeIer","shadow":"Button-module_s
|
|
|
536
536
|
styleInject(css_248z$O);
|
|
537
537
|
|
|
538
538
|
const ButtonContext = React.createContext({
|
|
539
|
-
color:
|
|
539
|
+
color: null
|
|
540
540
|
});
|
|
541
541
|
const useButtonContext = () => React.useContext(ButtonContext);
|
|
542
542
|
|