react-miui 0.12.0 → 0.12.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/CHANGELOG.md +4 -0
- package/dist/components/utils/HandleEsc.d.ts.map +1 -1
- package/dist/components/utils/HandleEsc.js +2 -2
- package/dist/components/utils/HandleEsc.js.map +1 -1
- package/docs/classes/Drawer.html +12 -12
- package/docs/classes/Pop.html +12 -12
- package/docs/classes/ToasterProvider.html +8 -8
- package/docs/enums/ICON.html +12 -12
- package/docs/index.html +4 -4
- package/docs/modules/Item.html +3 -3
- package/docs/modules/List.html +3 -3
- package/docs/modules/Modal.html +3 -3
- package/docs/modules/ModalButtons.html +3 -3
- package/docs/modules/Section.html +3 -3
- package/docs/modules/StickyHeader.html +4 -4
- package/docs/modules.html +28 -28
- package/docs/pages/Tutorials/Test.html +3 -3
- package/esm/components/utils/HandleEsc.d.ts.map +1 -1
- package/esm/components/utils/HandleEsc.js +2 -2
- package/esm/components/utils/HandleEsc.js.map +1 -1
- package/package.json +1 -1
- package/src/components/utils/HandleEsc.tsx +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
4
4
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## [0.12.1] - 2022-02-19
|
|
7
|
+
### Fixed
|
|
8
|
+
- crashes on some components when using without `react-use` installed
|
|
9
|
+
|
|
6
10
|
## [0.12.0] - 2022-02-19
|
|
7
11
|
### Added
|
|
8
12
|
- support for colored header
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HandleEsc.d.ts","sourceRoot":"","sources":["../../../src/components/utils/HandleEsc.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HandleEsc.d.ts","sourceRoot":"","sources":["../../../src/components/utils/HandleEsc.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,UAAU,KAAK;IACX,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAU9B,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HandleEsc = void 0;
|
|
4
|
-
const react_use_1 = require("react-use");
|
|
5
4
|
const react_1 = require("react");
|
|
5
|
+
const useKeyPress_1 = require("../../utils/useKeyPress");
|
|
6
6
|
const HandleEsc = (props) => {
|
|
7
|
-
const
|
|
7
|
+
const pressed = useKeyPress_1.useKeyPress("Escape");
|
|
8
8
|
react_1.useEffect(() => {
|
|
9
9
|
if (pressed) {
|
|
10
10
|
props.onPress();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HandleEsc.js","sourceRoot":"","sources":["../../../src/components/utils/HandleEsc.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"HandleEsc.js","sourceRoot":"","sources":["../../../src/components/utils/HandleEsc.tsx"],"names":[],"mappings":";;;AAAA,iCAAkC;AAGlC,yDAAsD;AAMtD,MAAM,SAAS,GAAoB,CAAC,KAAK,EAAE,EAAE;IACzC,MAAM,OAAO,GAAG,yBAAW,CAAC,QAAQ,CAAC,CAAC;IAEtC,iBAAS,CAAC,GAAG,EAAE;QACX,IAAI,OAAO,EAAE;YACT,KAAK,CAAC,OAAO,EAAE,CAAC;SACnB;IACL,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAEO,8BAAS"}
|
package/docs/classes/Drawer.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>Drawer | react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>Drawer | react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
<aside class="tsd-sources">
|
|
141
141
|
<p>Overrides Component<Props, State>.constructor</p>
|
|
142
142
|
<ul>
|
|
143
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
143
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/drawer/Drawer.tsx#L20">src/components/ui/drawer/Drawer.tsx:20</a></li>
|
|
144
144
|
</ul>
|
|
145
145
|
</aside>
|
|
146
146
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
<div class="tsd-signature tsd-kind-icon">timeout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Timeout</span><span class="tsd-signature-symbol"> = null</span></div>
|
|
240
240
|
<aside class="tsd-sources">
|
|
241
241
|
<ul>
|
|
242
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
242
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/drawer/Drawer.tsx#L50">src/components/ui/drawer/Drawer.tsx:50</a></li>
|
|
243
243
|
</ul>
|
|
244
244
|
</aside>
|
|
245
245
|
</section>
|
|
@@ -460,7 +460,7 @@
|
|
|
460
460
|
<aside class="tsd-sources">
|
|
461
461
|
<p>Overrides Component.componentDidMount</p>
|
|
462
462
|
<ul>
|
|
463
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
463
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/drawer/Drawer.tsx#L28">src/components/ui/drawer/Drawer.tsx:28</a></li>
|
|
464
464
|
</ul>
|
|
465
465
|
</aside>
|
|
466
466
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
<aside class="tsd-sources">
|
|
479
479
|
<p>Overrides Component.componentDidUpdate</p>
|
|
480
480
|
<ul>
|
|
481
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
481
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/drawer/Drawer.tsx#L35">src/components/ui/drawer/Drawer.tsx:35</a></li>
|
|
482
482
|
</ul>
|
|
483
483
|
</aside>
|
|
484
484
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -587,7 +587,7 @@
|
|
|
587
587
|
<aside class="tsd-sources">
|
|
588
588
|
<p>Overrides Component.componentWillUnmount</p>
|
|
589
589
|
<ul>
|
|
590
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
590
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/drawer/Drawer.tsx#L45">src/components/ui/drawer/Drawer.tsx:45</a></li>
|
|
591
591
|
</ul>
|
|
592
592
|
</aside>
|
|
593
593
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
<li class="tsd-description">
|
|
726
726
|
<aside class="tsd-sources">
|
|
727
727
|
<ul>
|
|
728
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
728
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/drawer/Drawer.tsx#L61">src/components/ui/drawer/Drawer.tsx:61</a></li>
|
|
729
729
|
</ul>
|
|
730
730
|
</aside>
|
|
731
731
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
<li class="tsd-description">
|
|
743
743
|
<aside class="tsd-sources">
|
|
744
744
|
<ul>
|
|
745
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
745
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/drawer/Drawer.tsx#L57">src/components/ui/drawer/Drawer.tsx:57</a></li>
|
|
746
746
|
</ul>
|
|
747
747
|
</aside>
|
|
748
748
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
@@ -759,7 +759,7 @@
|
|
|
759
759
|
<li class="tsd-description">
|
|
760
760
|
<aside class="tsd-sources">
|
|
761
761
|
<ul>
|
|
762
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
762
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/drawer/Drawer.tsx#L52">src/components/ui/drawer/Drawer.tsx:52</a></li>
|
|
763
763
|
</ul>
|
|
764
764
|
</aside>
|
|
765
765
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
@@ -777,7 +777,7 @@
|
|
|
777
777
|
<aside class="tsd-sources">
|
|
778
778
|
<p>Overrides Component.render</p>
|
|
779
779
|
<ul>
|
|
780
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
780
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/drawer/Drawer.tsx#L65">src/components/ui/drawer/Drawer.tsx:65</a></li>
|
|
781
781
|
</ul>
|
|
782
782
|
</aside>
|
|
783
783
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Element</span></h4>
|
package/docs/classes/Pop.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>Pop | react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>Pop | react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
<aside class="tsd-sources">
|
|
143
143
|
<p>Overrides Component<Props, State>.constructor</p>
|
|
144
144
|
<ul>
|
|
145
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
145
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/pop/Pop.tsx#L49">src/components/ui/pop/Pop.tsx:49</a></li>
|
|
146
146
|
</ul>
|
|
147
147
|
</aside>
|
|
148
148
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
<div class="tsd-signature tsd-kind-icon">root<wbr>Ref<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">RefObject</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">HTMLDivElement</span><span class="tsd-signature-symbol">></span></div>
|
|
231
231
|
<aside class="tsd-sources">
|
|
232
232
|
<ul>
|
|
233
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
233
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/pop/Pop.tsx#L69">src/components/ui/pop/Pop.tsx:69</a></li>
|
|
234
234
|
</ul>
|
|
235
235
|
</aside>
|
|
236
236
|
</section>
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
<div class="tsd-signature tsd-kind-icon">Option<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
252
252
|
<aside class="tsd-sources">
|
|
253
253
|
<ul>
|
|
254
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
254
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/pop/Pop.tsx#L67">src/components/ui/pop/Pop.tsx:67</a></li>
|
|
255
255
|
</ul>
|
|
256
256
|
</aside>
|
|
257
257
|
</section>
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
<aside class="tsd-sources">
|
|
496
496
|
<p>Overrides Component.componentDidUpdate</p>
|
|
497
497
|
<ul>
|
|
498
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
498
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/pop/Pop.tsx#L61">src/components/ui/pop/Pop.tsx:61</a></li>
|
|
499
499
|
</ul>
|
|
500
500
|
</aside>
|
|
501
501
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -712,7 +712,7 @@
|
|
|
712
712
|
<li class="tsd-description">
|
|
713
713
|
<aside class="tsd-sources">
|
|
714
714
|
<ul>
|
|
715
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
715
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/pop/Pop.tsx#L71">src/components/ui/pop/Pop.tsx:71</a></li>
|
|
716
716
|
</ul>
|
|
717
717
|
</aside>
|
|
718
718
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Element</span></h4>
|
|
@@ -765,7 +765,7 @@
|
|
|
765
765
|
<li class="tsd-description">
|
|
766
766
|
<aside class="tsd-sources">
|
|
767
767
|
<ul>
|
|
768
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
768
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/pop/Pop.tsx#L116">src/components/ui/pop/Pop.tsx:116</a></li>
|
|
769
769
|
</ul>
|
|
770
770
|
</aside>
|
|
771
771
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
@@ -782,7 +782,7 @@
|
|
|
782
782
|
<li class="tsd-description">
|
|
783
783
|
<aside class="tsd-sources">
|
|
784
784
|
<ul>
|
|
785
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
785
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/pop/Pop.tsx#L110">src/components/ui/pop/Pop.tsx:110</a></li>
|
|
786
786
|
</ul>
|
|
787
787
|
</aside>
|
|
788
788
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -805,7 +805,7 @@
|
|
|
805
805
|
<li class="tsd-description">
|
|
806
806
|
<aside class="tsd-sources">
|
|
807
807
|
<ul>
|
|
808
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
808
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/pop/Pop.tsx#L87">src/components/ui/pop/Pop.tsx:87</a></li>
|
|
809
809
|
</ul>
|
|
810
810
|
</aside>
|
|
811
811
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
@@ -823,7 +823,7 @@
|
|
|
823
823
|
<aside class="tsd-sources">
|
|
824
824
|
<p>Overrides Component.render</p>
|
|
825
825
|
<ul>
|
|
826
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
826
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/pop/Pop.tsx#L120">src/components/ui/pop/Pop.tsx:120</a></li>
|
|
827
827
|
</ul>
|
|
828
828
|
</aside>
|
|
829
829
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Element</span></h4>
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>ToasterProvider | react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>ToasterProvider | react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
<aside class="tsd-sources">
|
|
140
140
|
<p>Overrides React.Component<Props, State>.constructor</p>
|
|
141
141
|
<ul>
|
|
142
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
142
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/toaster/Toaster.tsx#L24">src/components/ui/toaster/Toaster.tsx:24</a></li>
|
|
143
143
|
</ul>
|
|
144
144
|
</aside>
|
|
145
145
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
<li class="tsd-description">
|
|
419
419
|
<aside class="tsd-sources">
|
|
420
420
|
<ul>
|
|
421
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
421
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/toaster/Toaster.tsx#L32">src/components/ui/toaster/Toaster.tsx:32</a></li>
|
|
422
422
|
</ul>
|
|
423
423
|
</aside>
|
|
424
424
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
<li class="tsd-description">
|
|
442
442
|
<aside class="tsd-sources">
|
|
443
443
|
<ul>
|
|
444
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
444
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/toaster/Toaster.tsx#L63">src/components/ui/toaster/Toaster.tsx:63</a></li>
|
|
445
445
|
</ul>
|
|
446
446
|
</aside>
|
|
447
447
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
<li class="tsd-description">
|
|
465
465
|
<aside class="tsd-sources">
|
|
466
466
|
<ul>
|
|
467
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
467
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/toaster/Toaster.tsx#L70">src/components/ui/toaster/Toaster.tsx:70</a></li>
|
|
468
468
|
</ul>
|
|
469
469
|
</aside>
|
|
470
470
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
@@ -804,7 +804,7 @@
|
|
|
804
804
|
<aside class="tsd-sources">
|
|
805
805
|
<p>Overrides React.Component.render</p>
|
|
806
806
|
<ul>
|
|
807
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
807
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/toaster/Toaster.tsx#L85">src/components/ui/toaster/Toaster.tsx:85</a></li>
|
|
808
808
|
</ul>
|
|
809
809
|
</aside>
|
|
810
810
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Element</span></h4>
|
package/docs/enums/ICON.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>ICON | react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>ICON | react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
<div class="tsd-signature tsd-kind-icon">back<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "back"</span></div>
|
|
97
97
|
<aside class="tsd-sources">
|
|
98
98
|
<ul>
|
|
99
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
99
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/icons/Icon.tsx#L16">src/components/icons/Icon.tsx:16</a></li>
|
|
100
100
|
</ul>
|
|
101
101
|
</aside>
|
|
102
102
|
</section>
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
<div class="tsd-signature tsd-kind-icon">battery<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "battery"</span></div>
|
|
107
107
|
<aside class="tsd-sources">
|
|
108
108
|
<ul>
|
|
109
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
109
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/icons/Icon.tsx#L19">src/components/icons/Icon.tsx:19</a></li>
|
|
110
110
|
</ul>
|
|
111
111
|
</aside>
|
|
112
112
|
</section>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
<div class="tsd-signature tsd-kind-icon">checkmark<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "checkmark"</span></div>
|
|
117
117
|
<aside class="tsd-sources">
|
|
118
118
|
<ul>
|
|
119
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
119
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/icons/Icon.tsx#L15">src/components/icons/Icon.tsx:15</a></li>
|
|
120
120
|
</ul>
|
|
121
121
|
</aside>
|
|
122
122
|
</section>
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
<div class="tsd-signature tsd-kind-icon">config<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "config"</span></div>
|
|
127
127
|
<aside class="tsd-sources">
|
|
128
128
|
<ul>
|
|
129
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
129
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/icons/Icon.tsx#L22">src/components/icons/Icon.tsx:22</a></li>
|
|
130
130
|
</ul>
|
|
131
131
|
</aside>
|
|
132
132
|
</section>
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
<div class="tsd-signature tsd-kind-icon">dots<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "dots"</span></div>
|
|
137
137
|
<aside class="tsd-sources">
|
|
138
138
|
<ul>
|
|
139
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
139
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/icons/Icon.tsx#L23">src/components/icons/Icon.tsx:23</a></li>
|
|
140
140
|
</ul>
|
|
141
141
|
</aside>
|
|
142
142
|
</section>
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
<div class="tsd-signature tsd-kind-icon">forward<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "forward"</span></div>
|
|
147
147
|
<aside class="tsd-sources">
|
|
148
148
|
<ul>
|
|
149
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
149
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/icons/Icon.tsx#L17">src/components/icons/Icon.tsx:17</a></li>
|
|
150
150
|
</ul>
|
|
151
151
|
</aside>
|
|
152
152
|
</section>
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
<div class="tsd-signature tsd-kind-icon">heart<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "heart"</span></div>
|
|
157
157
|
<aside class="tsd-sources">
|
|
158
158
|
<ul>
|
|
159
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
159
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/icons/Icon.tsx#L20">src/components/icons/Icon.tsx:20</a></li>
|
|
160
160
|
</ul>
|
|
161
161
|
</aside>
|
|
162
162
|
</section>
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
<div class="tsd-signature tsd-kind-icon">search<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "search"</span></div>
|
|
167
167
|
<aside class="tsd-sources">
|
|
168
168
|
<ul>
|
|
169
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
169
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/icons/Icon.tsx#L18">src/components/icons/Icon.tsx:18</a></li>
|
|
170
170
|
</ul>
|
|
171
171
|
</aside>
|
|
172
172
|
</section>
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
<div class="tsd-signature tsd-kind-icon">trash<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> = "trash"</span></div>
|
|
177
177
|
<aside class="tsd-sources">
|
|
178
178
|
<ul>
|
|
179
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
179
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/icons/Icon.tsx#L21">src/components/icons/Icon.tsx:21</a></li>
|
|
180
180
|
</ul>
|
|
181
181
|
</aside>
|
|
182
182
|
</section>
|
package/docs/index.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<a href="modules.html">Globals</a>
|
|
58
58
|
</li>
|
|
59
59
|
</ul>
|
|
60
|
-
<h1>Project react-miui - v0.12.
|
|
60
|
+
<h1>Project react-miui - v0.12.1</h1>
|
|
61
61
|
</div>
|
|
62
62
|
</div>
|
|
63
63
|
</header>
|
package/docs/modules/Item.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>Item | react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>Item | react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
package/docs/modules/List.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>List | react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>List | react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
package/docs/modules/Modal.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>Modal | react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>Modal | react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>ModalButtons | react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>ModalButtons | react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>Section | react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>Section | react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>StickyHeader | react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>StickyHeader | react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="../index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
<li class="tsd-description">
|
|
93
93
|
<aside class="tsd-sources">
|
|
94
94
|
<ul>
|
|
95
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
95
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/layout/header/StickyHeader.tsx#L60">src/components/layout/header/StickyHeader.tsx:60</a></li>
|
|
96
96
|
</ul>
|
|
97
97
|
</aside>
|
|
98
98
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
package/docs/modules.html
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<a href="modules.html">Globals</a>
|
|
58
58
|
</li>
|
|
59
59
|
</ul>
|
|
60
|
-
<h1>Project react-miui - v0.12.
|
|
60
|
+
<h1>Project react-miui - v0.12.1</h1>
|
|
61
61
|
</div>
|
|
62
62
|
</div>
|
|
63
63
|
</header>
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
<div class="tsd-signature tsd-kind-icon">Action<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
139
139
|
<aside class="tsd-sources">
|
|
140
140
|
<ul>
|
|
141
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
141
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/action/Action.tsx#L22">src/components/ui/action/Action.tsx:22</a></li>
|
|
142
142
|
</ul>
|
|
143
143
|
</aside>
|
|
144
144
|
</section>
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
<div class="tsd-signature tsd-kind-icon">Button<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">React.ButtonHTMLAttributes</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">HTMLButtonElement</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
149
149
|
<aside class="tsd-sources">
|
|
150
150
|
<ul>
|
|
151
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
151
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/button/Button.tsx#L11">src/components/ui/button/Button.tsx:11</a></li>
|
|
152
152
|
</ul>
|
|
153
153
|
</aside>
|
|
154
154
|
</section>
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
<div class="tsd-signature tsd-kind-icon">Card<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
159
159
|
<aside class="tsd-sources">
|
|
160
160
|
<ul>
|
|
161
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
161
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/layout/card/Card.tsx#L13">src/components/layout/card/Card.tsx:13</a></li>
|
|
162
162
|
</ul>
|
|
163
163
|
</aside>
|
|
164
164
|
</section>
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
<div class="tsd-signature tsd-kind-icon">Checkbox<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
169
169
|
<aside class="tsd-sources">
|
|
170
170
|
<ul>
|
|
171
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
171
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/form/Checkbox.tsx#L16">src/components/form/Checkbox.tsx:16</a></li>
|
|
172
172
|
</ul>
|
|
173
173
|
</aside>
|
|
174
174
|
</section>
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
<div class="tsd-signature tsd-kind-icon">Choice<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
179
179
|
<aside class="tsd-sources">
|
|
180
180
|
<ul>
|
|
181
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
181
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/form/choice/Choice.tsx#L15">src/components/form/choice/Choice.tsx:15</a></li>
|
|
182
182
|
</ul>
|
|
183
183
|
</aside>
|
|
184
184
|
</section>
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
<div class="tsd-signature tsd-kind-icon">Direction<wbr>Pad<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
189
189
|
<aside class="tsd-sources">
|
|
190
190
|
<ul>
|
|
191
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
191
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/directionPad/Pad.tsx#L17">src/components/ui/directionPad/Pad.tsx:17</a></li>
|
|
192
192
|
</ul>
|
|
193
193
|
</aside>
|
|
194
194
|
</section>
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
<div class="tsd-signature tsd-kind-icon">Equal<wbr>Actions<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
199
199
|
<aside class="tsd-sources">
|
|
200
200
|
<ul>
|
|
201
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
201
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/action/EqualActions.tsx#L11">src/components/ui/action/EqualActions.tsx:11</a></li>
|
|
202
202
|
</ul>
|
|
203
203
|
</aside>
|
|
204
204
|
</section>
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
<div class="tsd-signature tsd-kind-icon">Header<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
209
209
|
<aside class="tsd-sources">
|
|
210
210
|
<ul>
|
|
211
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
211
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/layout/header/Header.tsx#L23">src/components/layout/header/Header.tsx:23</a></li>
|
|
212
212
|
</ul>
|
|
213
213
|
</aside>
|
|
214
214
|
</section>
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
<div class="tsd-signature tsd-kind-icon">Header<wbr>Icon<wbr>Action<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
219
219
|
<aside class="tsd-sources">
|
|
220
220
|
<ul>
|
|
221
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
221
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/layout/header/HeaderIconAction.tsx#L22">src/components/layout/header/HeaderIconAction.tsx:22</a></li>
|
|
222
222
|
</ul>
|
|
223
223
|
</aside>
|
|
224
224
|
</section>
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
<div class="tsd-signature tsd-kind-icon">Icon<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
229
229
|
<aside class="tsd-sources">
|
|
230
230
|
<ul>
|
|
231
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
231
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/icons/Icon.tsx#L43">src/components/icons/Icon.tsx:43</a></li>
|
|
232
232
|
</ul>
|
|
233
233
|
</aside>
|
|
234
234
|
</section>
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
<div class="tsd-signature tsd-kind-icon">Input<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Omit</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">React.InputHTMLAttributes</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">HTMLInputElement</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">"prefix"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
239
239
|
<aside class="tsd-sources">
|
|
240
240
|
<ul>
|
|
241
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
241
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/form/Input.tsx#L12">src/components/form/Input.tsx:12</a></li>
|
|
242
242
|
</ul>
|
|
243
243
|
</aside>
|
|
244
244
|
</section>
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
<div class="tsd-signature tsd-kind-icon">Item<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">SubComponents</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
249
249
|
<aside class="tsd-sources">
|
|
250
250
|
<ul>
|
|
251
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
251
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/layout/list/Item.tsx#L36">src/components/layout/list/Item.tsx:36</a></li>
|
|
252
252
|
</ul>
|
|
253
253
|
</aside>
|
|
254
254
|
</section>
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
<div class="tsd-signature tsd-kind-icon">Label<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
259
259
|
<aside class="tsd-sources">
|
|
260
260
|
<ul>
|
|
261
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
261
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/form/Label.tsx#L12">src/components/form/Label.tsx:12</a></li>
|
|
262
262
|
</ul>
|
|
263
263
|
</aside>
|
|
264
264
|
</section>
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
<div class="tsd-signature tsd-kind-icon">List<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">SubComponents</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
269
269
|
<aside class="tsd-sources">
|
|
270
270
|
<ul>
|
|
271
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
271
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/layout/list/List.tsx#L20">src/components/layout/list/List.tsx:20</a></li>
|
|
272
272
|
</ul>
|
|
273
273
|
</aside>
|
|
274
274
|
</section>
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
<div class="tsd-signature tsd-kind-icon">Message<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
279
279
|
<aside class="tsd-sources">
|
|
280
280
|
<ul>
|
|
281
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
281
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/message/Message.tsx#L11">src/components/ui/message/Message.tsx:11</a></li>
|
|
282
282
|
</ul>
|
|
283
283
|
</aside>
|
|
284
284
|
</section>
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
<div class="tsd-signature tsd-kind-icon">Modal<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">SubComponents</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
289
289
|
<aside class="tsd-sources">
|
|
290
290
|
<ul>
|
|
291
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
291
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/modal/Modal.tsx#L25">src/components/ui/modal/Modal.tsx:25</a></li>
|
|
292
292
|
</ul>
|
|
293
293
|
</aside>
|
|
294
294
|
</section>
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
<div class="tsd-signature tsd-kind-icon">Modal<wbr>Buttons<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">SubComponents</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
299
299
|
<aside class="tsd-sources">
|
|
300
300
|
<ul>
|
|
301
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
301
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/modal/ModalButtons.tsx#L12">src/components/ui/modal/ModalButtons.tsx:12</a></li>
|
|
302
302
|
</ul>
|
|
303
303
|
</aside>
|
|
304
304
|
</section>
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
<div class="tsd-signature tsd-kind-icon">Search<wbr>Container<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
309
309
|
<aside class="tsd-sources">
|
|
310
310
|
<ul>
|
|
311
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
311
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/layout/section/SearchContainer.tsx#L5">src/components/layout/section/SearchContainer.tsx:5</a></li>
|
|
312
312
|
</ul>
|
|
313
313
|
</aside>
|
|
314
314
|
</section>
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
<div class="tsd-signature tsd-kind-icon">Section<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">SubComponents</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
319
319
|
<aside class="tsd-sources">
|
|
320
320
|
<ul>
|
|
321
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
321
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/layout/section/Section.tsx#L18">src/components/layout/section/Section.tsx:18</a></li>
|
|
322
322
|
</ul>
|
|
323
323
|
</aside>
|
|
324
324
|
</section>
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
<div class="tsd-signature tsd-kind-icon">Selector<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
329
329
|
<aside class="tsd-sources">
|
|
330
330
|
<ul>
|
|
331
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
331
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/tabs/Selector.tsx#L14">src/components/ui/tabs/Selector.tsx:14</a></li>
|
|
332
332
|
</ul>
|
|
333
333
|
</aside>
|
|
334
334
|
</section>
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
<div class="tsd-signature tsd-kind-icon">Sticky<wbr>Header<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Content</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
339
339
|
<aside class="tsd-sources">
|
|
340
340
|
<ul>
|
|
341
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
341
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/layout/header/StickyHeader.tsx#L22">src/components/layout/header/StickyHeader.tsx:22</a></li>
|
|
342
342
|
</ul>
|
|
343
343
|
</aside>
|
|
344
344
|
</section>
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
<div class="tsd-signature tsd-kind-icon">Text<wbr>Area<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">React.TextareaHTMLAttributes</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">HTMLTextAreaElement</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
349
349
|
<aside class="tsd-sources">
|
|
350
350
|
<ul>
|
|
351
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
351
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/form/TextArea.tsx#L10">src/components/form/TextArea.tsx:10</a></li>
|
|
352
352
|
</ul>
|
|
353
353
|
</aside>
|
|
354
354
|
</section>
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
<div class="tsd-signature tsd-kind-icon">Toggle<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">React.FC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
359
359
|
<aside class="tsd-sources">
|
|
360
360
|
<ul>
|
|
361
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
361
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/form/Toggle.tsx#L11">src/components/form/Toggle.tsx:11</a></li>
|
|
362
362
|
</ul>
|
|
363
363
|
</aside>
|
|
364
364
|
</section>
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
<li class="tsd-description">
|
|
376
376
|
<aside class="tsd-sources">
|
|
377
377
|
<ul>
|
|
378
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
378
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/7b0b9e1/src/components/ui/toaster/Toaster.tsx#L99">src/components/ui/toaster/Toaster.tsx:99</a></li>
|
|
379
379
|
</ul>
|
|
380
380
|
</aside>
|
|
381
381
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ToasterFn</span></h4>
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
-
<title>Test | react-miui - v0.12.
|
|
7
|
-
<meta name="description" content="Documentation for react-miui - v0.12.
|
|
6
|
+
<title>Test | react-miui - v0.12.1</title>
|
|
7
|
+
<meta name="description" content="Documentation for react-miui - v0.12.1">
|
|
8
8
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
9
|
<link rel="stylesheet" href="../../assets/css/main.css">
|
|
10
10
|
<link rel="stylesheet" href="../../assets/css/pages.css">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<li class="state loading">Preparing search index...</li>
|
|
24
24
|
<li class="state failure">The search index is not available</li>
|
|
25
25
|
</ul>
|
|
26
|
-
<a href="../../index.html" class="title">react-miui - v0.12.
|
|
26
|
+
<a href="../../index.html" class="title">react-miui - v0.12.1</a>
|
|
27
27
|
</div>
|
|
28
28
|
<div class="table-cell" id="tsd-widgets">
|
|
29
29
|
<div id="tsd-filter">
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HandleEsc.d.ts","sourceRoot":"","sources":["../../../src/components/utils/HandleEsc.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HandleEsc.d.ts","sourceRoot":"","sources":["../../../src/components/utils/HandleEsc.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,UAAU,KAAK;IACX,OAAO,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAU9B,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useKeyPress } from "react-use";
|
|
2
1
|
import { useEffect } from "react";
|
|
2
|
+
import { useKeyPress } from "../../utils/useKeyPress";
|
|
3
3
|
const HandleEsc = (props) => {
|
|
4
|
-
const
|
|
4
|
+
const pressed = useKeyPress("Escape");
|
|
5
5
|
useEffect(() => {
|
|
6
6
|
if (pressed) {
|
|
7
7
|
props.onPress();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HandleEsc.js","sourceRoot":"","sources":["../../../src/components/utils/HandleEsc.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HandleEsc.js","sourceRoot":"","sources":["../../../src/components/utils/HandleEsc.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAMtD,MAAM,SAAS,GAAoB,CAAC,KAAK,EAAE,EAAE;IACzC,MAAM,OAAO,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;IAEtC,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,OAAO,EAAE;YACT,KAAK,CAAC,OAAO,EAAE,CAAC;SACnB;IACL,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,OAAO,IAAI,CAAC;AAChB,CAAC,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import type React from "react";
|
|
2
|
-
import { useKeyPress } from "react-use";
|
|
3
1
|
import { useEffect } from "react";
|
|
2
|
+
import type React from "react";
|
|
3
|
+
|
|
4
|
+
import { useKeyPress } from "../../utils/useKeyPress";
|
|
4
5
|
|
|
5
6
|
interface Props {
|
|
6
7
|
onPress: () => void;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
const HandleEsc: React.FC<Props> = (props) => {
|
|
10
|
-
const
|
|
11
|
+
const pressed = useKeyPress("Escape");
|
|
11
12
|
|
|
12
13
|
useEffect(() => {
|
|
13
14
|
if (pressed) {
|