mirror of
https://github.com/streamich/react-use.git
synced 2026-01-18 14:06:52 +00:00
Updates
This commit is contained in:
parent
75a6a41ca3
commit
33ed27fc12
@ -22,6 +22,6 @@
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<div id="error-display"></div>
|
||||
<script type="text/javascript" src="static/preview.c7ce69a4f4beced21f7d.bundle.js"></script></body>
|
||||
<script type="text/javascript" src="static/preview.c907014b1a95e12dd3a5.bundle.js"></script></body>
|
||||
|
||||
</html>
|
||||
3
lib/useToggle.d.ts
vendored
3
lib/useToggle.d.ts
vendored
@ -1,5 +1,4 @@
|
||||
export declare type UseToggle = (state: boolean) => [boolean, // state
|
||||
() => void, // toggle
|
||||
(state: boolean) => void];
|
||||
(nextValue?: boolean) => void];
|
||||
declare const useToggle: UseToggle;
|
||||
export default useToggle;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user