react-miui 0.17.2 → 0.17.3
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 +6 -0
- package/dist/components/form/Checkbox.d.ts +1 -0
- package/dist/components/form/Checkbox.d.ts.map +1 -1
- package/dist/components/form/Checkbox.js +1 -1
- package/dist/components/form/Checkbox.js.map +1 -1
- package/dist/components/form/Label.d.ts +1 -0
- package/dist/components/form/Label.d.ts.map +1 -1
- package/dist/components/form/Label.js +2 -1
- package/dist/components/form/Label.js.map +1 -1
- package/dist/components/form/Toggle.d.ts +1 -0
- package/dist/components/form/Toggle.d.ts.map +1 -1
- package/dist/components/form/Toggle.js +1 -1
- package/dist/components/form/Toggle.js.map +1 -1
- package/dist/components/layout/card/Card.d.ts +1 -0
- package/dist/components/layout/card/Card.d.ts.map +1 -1
- package/dist/components/layout/card/Card.js +1 -1
- package/dist/components/layout/card/Card.js.map +1 -1
- package/dist/components/layout/header/HeaderIconAction.d.ts +1 -0
- package/dist/components/layout/header/HeaderIconAction.d.ts.map +1 -1
- package/dist/components/layout/header/HeaderIconAction.js +8 -4
- package/dist/components/layout/header/HeaderIconAction.js.map +1 -1
- package/dist/components/layout/section/SearchContainer.d.ts +4 -1
- package/dist/components/layout/section/SearchContainer.d.ts.map +1 -1
- package/dist/components/layout/section/SearchContainer.js +2 -1
- package/dist/components/layout/section/SearchContainer.js.map +1 -1
- package/dist/components/layout/section/Section.d.ts +1 -0
- package/dist/components/layout/section/Section.d.ts.map +1 -1
- package/dist/components/layout/section/Section.js +1 -1
- package/dist/components/layout/section/Section.js.map +1 -1
- package/dist/components/ui/directionPad/Pad.d.ts +1 -0
- package/dist/components/ui/directionPad/Pad.d.ts.map +1 -1
- package/dist/components/ui/directionPad/Pad.js +2 -1
- package/dist/components/ui/directionPad/Pad.js.map +1 -1
- package/dist/components/ui/drawer/Drawer.d.ts +1 -0
- package/dist/components/ui/drawer/Drawer.d.ts.map +1 -1
- package/dist/components/ui/drawer/Drawer.js +3 -1
- package/dist/components/ui/drawer/Drawer.js.map +1 -1
- package/dist/components/ui/pop/Pop.d.ts +1 -0
- package/dist/components/ui/pop/Pop.d.ts.map +1 -1
- package/dist/components/ui/pop/Pop.js +3 -1
- package/dist/components/ui/pop/Pop.js.map +1 -1
- package/dist/components/ui/pop/PopOption.d.ts +1 -0
- package/dist/components/ui/pop/PopOption.d.ts.map +1 -1
- package/dist/components/ui/pop/PopOption.js +2 -1
- package/dist/components/ui/pop/PopOption.js.map +1 -1
- package/dist/components/ui/stats/Stats.d.ts +1 -0
- package/dist/components/ui/stats/Stats.d.ts.map +1 -1
- package/dist/components/ui/stats/Stats.js +1 -1
- package/dist/components/ui/stats/Stats.js.map +1 -1
- package/dist/components/ui/tabs/Selector.d.ts +1 -0
- package/dist/components/ui/tabs/Selector.d.ts.map +1 -1
- package/dist/components/ui/tabs/Selector.js +2 -1
- package/dist/components/ui/tabs/Selector.js.map +1 -1
- package/docs/assets/main.js +57 -53
- package/docs/assets/search.js +1 -1
- package/docs/assets/style.css +58 -2
- package/docs/classes/Drawer.html +43 -41
- package/docs/classes/Pop.html +47 -45
- package/docs/classes/ToasterProvider.html +45 -43
- package/docs/enums/ICON.html +18 -16
- package/docs/functions/Action.html +8 -6
- package/docs/functions/Button.html +8 -6
- package/docs/functions/Card.html +8 -6
- package/docs/functions/Checkbox.html +8 -6
- package/docs/functions/Choice.html +12 -10
- package/docs/functions/DirectionPad.html +8 -6
- package/docs/functions/EqualActions.html +8 -6
- package/docs/functions/HandleEsc.html +8 -6
- package/docs/functions/Header.html +8 -6
- package/docs/functions/HeaderIconAction.html +8 -6
- package/docs/functions/Icon-1.html +8 -6
- package/docs/functions/If.html +8 -6
- package/docs/functions/Input.html +12 -10
- package/docs/functions/Item-1.html +8 -6
- package/docs/functions/KeyValue.html +8 -6
- package/docs/functions/Label.html +8 -6
- package/docs/functions/List-1.html +8 -6
- package/docs/functions/Message.html +8 -6
- package/docs/functions/Modal-1.html +8 -6
- package/docs/functions/ModalButtons-1.html +8 -6
- package/docs/functions/PopOption.html +8 -6
- package/docs/functions/SearchContainer.html +10 -11
- package/docs/functions/Section-1.html +8 -6
- package/docs/functions/Select.html +8 -6
- package/docs/functions/Selector.html +12 -10
- package/docs/functions/Spacer.html +8 -6
- package/docs/functions/Stats.html +8 -6
- package/docs/functions/StickyHeader-1.html +8 -6
- package/docs/functions/StickyHeader.Content.html +9 -7
- package/docs/functions/Table.html +8 -6
- package/docs/functions/TextArea.html +8 -6
- package/docs/functions/Toggle.html +8 -6
- package/docs/functions/useToaster.html +9 -7
- package/docs/index.html +8 -6
- package/docs/modules/Item.html +11 -9
- package/docs/modules/List.html +10 -8
- package/docs/modules/Modal.html +10 -8
- package/docs/modules/ModalButtons.html +10 -8
- package/docs/modules/Section.html +10 -8
- package/docs/modules/StickyHeader.html +10 -8
- package/docs/modules.html +8 -6
- package/docs/pages/tutorials/Test.html +8 -6
- package/docs/variables/Item.Label.html +9 -7
- package/docs/variables/Item.Value.html +9 -7
- package/docs/variables/List.Header.html +9 -7
- package/docs/variables/Modal.NegateMargin.html +9 -7
- package/docs/variables/ModalButtons.Button.html +9 -7
- package/docs/variables/Section.Container.html +9 -7
- package/esm/components/form/Checkbox.d.ts +1 -0
- package/esm/components/form/Checkbox.d.ts.map +1 -1
- package/esm/components/form/Checkbox.js +1 -1
- package/esm/components/form/Checkbox.js.map +1 -1
- package/esm/components/form/Label.d.ts +1 -0
- package/esm/components/form/Label.d.ts.map +1 -1
- package/esm/components/form/Label.js +2 -1
- package/esm/components/form/Label.js.map +1 -1
- package/esm/components/form/Toggle.d.ts +1 -0
- package/esm/components/form/Toggle.d.ts.map +1 -1
- package/esm/components/form/Toggle.js +1 -1
- package/esm/components/form/Toggle.js.map +1 -1
- package/esm/components/layout/card/Card.d.ts +1 -0
- package/esm/components/layout/card/Card.d.ts.map +1 -1
- package/esm/components/layout/card/Card.js +1 -1
- package/esm/components/layout/card/Card.js.map +1 -1
- package/esm/components/layout/header/HeaderIconAction.d.ts +1 -0
- package/esm/components/layout/header/HeaderIconAction.d.ts.map +1 -1
- package/esm/components/layout/header/HeaderIconAction.js +8 -4
- package/esm/components/layout/header/HeaderIconAction.js.map +1 -1
- package/esm/components/layout/section/SearchContainer.d.ts +4 -1
- package/esm/components/layout/section/SearchContainer.d.ts.map +1 -1
- package/esm/components/layout/section/SearchContainer.js +2 -1
- package/esm/components/layout/section/SearchContainer.js.map +1 -1
- package/esm/components/layout/section/Section.d.ts +1 -0
- package/esm/components/layout/section/Section.d.ts.map +1 -1
- package/esm/components/layout/section/Section.js +1 -1
- package/esm/components/layout/section/Section.js.map +1 -1
- package/esm/components/ui/directionPad/Pad.d.ts +1 -0
- package/esm/components/ui/directionPad/Pad.d.ts.map +1 -1
- package/esm/components/ui/directionPad/Pad.js +2 -1
- package/esm/components/ui/directionPad/Pad.js.map +1 -1
- package/esm/components/ui/drawer/Drawer.d.ts +1 -0
- package/esm/components/ui/drawer/Drawer.d.ts.map +1 -1
- package/esm/components/ui/drawer/Drawer.js +3 -1
- package/esm/components/ui/drawer/Drawer.js.map +1 -1
- package/esm/components/ui/pop/Pop.d.ts +1 -0
- package/esm/components/ui/pop/Pop.d.ts.map +1 -1
- package/esm/components/ui/pop/Pop.js +3 -1
- package/esm/components/ui/pop/Pop.js.map +1 -1
- package/esm/components/ui/pop/PopOption.d.ts +1 -0
- package/esm/components/ui/pop/PopOption.d.ts.map +1 -1
- package/esm/components/ui/pop/PopOption.js +2 -1
- package/esm/components/ui/pop/PopOption.js.map +1 -1
- package/esm/components/ui/stats/Stats.d.ts +1 -0
- package/esm/components/ui/stats/Stats.d.ts.map +1 -1
- package/esm/components/ui/stats/Stats.js +1 -1
- package/esm/components/ui/stats/Stats.js.map +1 -1
- package/esm/components/ui/tabs/Selector.d.ts +1 -0
- package/esm/components/ui/tabs/Selector.d.ts.map +1 -1
- package/esm/components/ui/tabs/Selector.js +2 -1
- package/esm/components/ui/tabs/Selector.js.map +1 -1
- package/package.json +19 -16
- package/src/components/form/Checkbox.tsx +2 -1
- package/src/components/form/Label.tsx +4 -1
- package/src/components/form/Toggle.tsx +2 -1
- package/src/components/layout/card/Card.tsx +2 -1
- package/src/components/layout/header/HeaderIconAction.tsx +10 -5
- package/src/components/layout/section/SearchContainer.tsx +8 -2
- package/src/components/layout/section/Section.tsx +2 -1
- package/src/components/ui/directionPad/Pad.tsx +4 -1
- package/src/components/ui/drawer/Drawer.tsx +5 -1
- package/src/components/ui/pop/Pop.tsx +6 -1
- package/src/components/ui/pop/PopOption.tsx +4 -1
- package/src/components/ui/stats/Stats.tsx +2 -1
- package/src/components/ui/tabs/Selector.tsx +4 -1
- package/docs/assets/widgets.png +0 -0
- package/docs/assets/widgets@2x.png +0 -0
package/docs/assets/style.css
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
/* Light */
|
|
3
3
|
--light-color-background: #f2f4f8;
|
|
4
4
|
--light-color-background-secondary: #eff0f1;
|
|
5
|
+
--light-color-warning-text: #222;
|
|
6
|
+
--light-color-background-warning: #e6e600;
|
|
5
7
|
--light-color-icon-background: var(--light-color-background);
|
|
6
8
|
--light-color-accent: #c5c7c9;
|
|
7
9
|
--light-color-text: #222;
|
|
@@ -21,6 +23,8 @@
|
|
|
21
23
|
/* Dark */
|
|
22
24
|
--dark-color-background: #2b2e33;
|
|
23
25
|
--dark-color-background-secondary: #1e2024;
|
|
26
|
+
--dark-color-background-warning: #bebe00;
|
|
27
|
+
--dark-color-warning-text: #222;
|
|
24
28
|
--dark-color-icon-background: var(--dark-color-background-secondary);
|
|
25
29
|
--dark-color-accent: #9096a2;
|
|
26
30
|
--dark-color-text: #f5f5f5;
|
|
@@ -42,6 +46,8 @@
|
|
|
42
46
|
:root {
|
|
43
47
|
--color-background: var(--light-color-background);
|
|
44
48
|
--color-background-secondary: var(--light-color-background-secondary);
|
|
49
|
+
--color-background-warning: var(--light-color-background-warning);
|
|
50
|
+
--color-warning-text: var(--light-color-warning-text);
|
|
45
51
|
--color-icon-background: var(--light-color-icon-background);
|
|
46
52
|
--color-accent: var(--light-color-accent);
|
|
47
53
|
--color-text: var(--light-color-text);
|
|
@@ -64,6 +70,8 @@
|
|
|
64
70
|
:root {
|
|
65
71
|
--color-background: var(--dark-color-background);
|
|
66
72
|
--color-background-secondary: var(--dark-color-background-secondary);
|
|
73
|
+
--color-background-warning: var(--dark-color-background-warning);
|
|
74
|
+
--color-warning-text: var(--dark-color-warning-text);
|
|
67
75
|
--color-icon-background: var(--dark-color-icon-background);
|
|
68
76
|
--color-accent: var(--dark-color-accent);
|
|
69
77
|
--color-text: var(--dark-color-text);
|
|
@@ -93,6 +101,8 @@ body {
|
|
|
93
101
|
:root[data-theme="light"] {
|
|
94
102
|
--color-background: var(--light-color-background);
|
|
95
103
|
--color-background-secondary: var(--light-color-background-secondary);
|
|
104
|
+
--color-background-warning: var(--light-color-background-warning);
|
|
105
|
+
--color-warning-text: var(--light-color-warning-text);
|
|
96
106
|
--color-icon-background: var(--light-color-icon-background);
|
|
97
107
|
--color-accent: var(--light-color-accent);
|
|
98
108
|
--color-text: var(--light-color-text);
|
|
@@ -113,6 +123,8 @@ body {
|
|
|
113
123
|
:root[data-theme="dark"] {
|
|
114
124
|
--color-background: var(--dark-color-background);
|
|
115
125
|
--color-background-secondary: var(--dark-color-background-secondary);
|
|
126
|
+
--color-background-warning: var(--dark-color-background-warning);
|
|
127
|
+
--color-warning-text: var(--dark-color-warning-text);
|
|
116
128
|
--color-icon-background: var(--dark-color-icon-background);
|
|
117
129
|
--color-accent: var(--dark-color-accent);
|
|
118
130
|
--color-text: var(--dark-color-text);
|
|
@@ -130,6 +142,11 @@ body {
|
|
|
130
142
|
--color-scheme: var(--dark-color-scheme);
|
|
131
143
|
}
|
|
132
144
|
|
|
145
|
+
.always-visible,
|
|
146
|
+
.always-visible .tsd-signatures {
|
|
147
|
+
display: inherit !important;
|
|
148
|
+
}
|
|
149
|
+
|
|
133
150
|
h1,
|
|
134
151
|
h2,
|
|
135
152
|
h3,
|
|
@@ -825,6 +842,15 @@ input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
|
|
|
825
842
|
padding-left: 5.5rem;
|
|
826
843
|
}
|
|
827
844
|
|
|
845
|
+
#tsd-sidebar-links a {
|
|
846
|
+
margin-top: 0;
|
|
847
|
+
margin-bottom: 0.5rem;
|
|
848
|
+
line-height: 1.25rem;
|
|
849
|
+
}
|
|
850
|
+
#tsd-sidebar-links a:last-of-type {
|
|
851
|
+
margin-bottom: 0;
|
|
852
|
+
}
|
|
853
|
+
|
|
828
854
|
a.tsd-index-link {
|
|
829
855
|
margin: 0.25rem 0;
|
|
830
856
|
font-size: 1rem;
|
|
@@ -978,7 +1004,8 @@ a.tsd-index-link {
|
|
|
978
1004
|
right: -40px;
|
|
979
1005
|
}
|
|
980
1006
|
#tsd-search .field input,
|
|
981
|
-
#tsd-search .title
|
|
1007
|
+
#tsd-search .title,
|
|
1008
|
+
#tsd-toolbar-links a {
|
|
982
1009
|
transition: opacity 0.2s;
|
|
983
1010
|
}
|
|
984
1011
|
#tsd-search .results {
|
|
@@ -1022,7 +1049,8 @@ a.tsd-index-link {
|
|
|
1022
1049
|
top: 0;
|
|
1023
1050
|
opacity: 1;
|
|
1024
1051
|
}
|
|
1025
|
-
#tsd-search.has-focus .title
|
|
1052
|
+
#tsd-search.has-focus .title,
|
|
1053
|
+
#tsd-search.has-focus #tsd-toolbar-links a {
|
|
1026
1054
|
z-index: 0;
|
|
1027
1055
|
opacity: 0;
|
|
1028
1056
|
}
|
|
@@ -1036,6 +1064,22 @@ a.tsd-index-link {
|
|
|
1036
1064
|
display: block;
|
|
1037
1065
|
}
|
|
1038
1066
|
|
|
1067
|
+
#tsd-toolbar-links {
|
|
1068
|
+
position: absolute;
|
|
1069
|
+
top: 0;
|
|
1070
|
+
right: 2rem;
|
|
1071
|
+
height: 100%;
|
|
1072
|
+
display: flex;
|
|
1073
|
+
align-items: center;
|
|
1074
|
+
justify-content: flex-end;
|
|
1075
|
+
}
|
|
1076
|
+
#tsd-toolbar-links a {
|
|
1077
|
+
margin-left: 1.5rem;
|
|
1078
|
+
}
|
|
1079
|
+
#tsd-toolbar-links a:hover {
|
|
1080
|
+
text-decoration: underline;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1039
1083
|
.tsd-signature {
|
|
1040
1084
|
margin: 0 0 1rem 0;
|
|
1041
1085
|
padding: 1rem 0.5rem;
|
|
@@ -1124,6 +1168,7 @@ ul.tsd-type-parameter-list h5 {
|
|
|
1124
1168
|
display: flex;
|
|
1125
1169
|
justify-content: space-between;
|
|
1126
1170
|
height: 2.5rem;
|
|
1171
|
+
margin: 0 auto;
|
|
1127
1172
|
}
|
|
1128
1173
|
.tsd-page-toolbar .table-cell {
|
|
1129
1174
|
position: relative;
|
|
@@ -1133,6 +1178,11 @@ ul.tsd-type-parameter-list h5 {
|
|
|
1133
1178
|
.tsd-page-toolbar .table-cell:first-child {
|
|
1134
1179
|
width: 100%;
|
|
1135
1180
|
}
|
|
1181
|
+
.tsd-page-toolbar .tsd-toolbar-icon {
|
|
1182
|
+
box-sizing: border-box;
|
|
1183
|
+
line-height: 0;
|
|
1184
|
+
padding: 12px 0;
|
|
1185
|
+
}
|
|
1136
1186
|
|
|
1137
1187
|
.tsd-page-toolbar--hide {
|
|
1138
1188
|
transform: translateY(-100%);
|
|
@@ -1204,6 +1254,12 @@ img {
|
|
|
1204
1254
|
text-decoration: line-through;
|
|
1205
1255
|
}
|
|
1206
1256
|
|
|
1257
|
+
.warning {
|
|
1258
|
+
padding: 1rem;
|
|
1259
|
+
color: var(--color-warning-text);
|
|
1260
|
+
background: var(--color-background-warning);
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1207
1263
|
* {
|
|
1208
1264
|
scrollbar-width: thin;
|
|
1209
1265
|
scrollbar-color: var(--color-accent) var(--color-icon-background);
|
package/docs/classes/Drawer.html
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Drawer | react-miui - v0.17.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Drawer | react-miui - v0.17.3</title><meta name="description" content="Documentation for react-miui - v0.17.3"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script><link rel="stylesheet" href="../assets/pages.css"/></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
-
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<div class="field">
|
|
6
|
+
<div id="tsd-toolbar-links"></div></div>
|
|
5
7
|
<ul class="results">
|
|
6
8
|
<li class="state loading">Preparing search index...</li>
|
|
7
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">react-miui - v0.17.
|
|
8
|
-
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">react-miui - v0.17.3</a></div>
|
|
10
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
9
11
|
<div class="container container-main">
|
|
10
12
|
<div class="col-8 col-content">
|
|
11
13
|
<div class="tsd-page-title">
|
|
12
14
|
<ul class="tsd-breadcrumb">
|
|
13
|
-
<li><a href="../modules.html">react-miui - v0.17.
|
|
15
|
+
<li><a href="../modules.html">react-miui - v0.17.3</a></li>
|
|
14
16
|
<li><a href="Drawer.html">Drawer</a></li></ul>
|
|
15
17
|
<h1>Class Drawer</h1></div>
|
|
16
18
|
<section class="tsd-panel tsd-hierarchy">
|
|
@@ -20,7 +22,7 @@
|
|
|
20
22
|
<ul class="tsd-hierarchy">
|
|
21
23
|
<li><span class="target">Drawer</span></li></ul></li></ul></section><aside class="tsd-sources">
|
|
22
24
|
<ul>
|
|
23
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
25
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/6f438f2/src/components/ui/drawer/Drawer.tsx#L23">src/components/ui/drawer/Drawer.tsx:23</a></li></ul></aside>
|
|
24
26
|
<section class="tsd-panel-group tsd-index-group">
|
|
25
27
|
<section class="tsd-panel tsd-index-panel">
|
|
26
28
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -37,28 +39,28 @@
|
|
|
37
39
|
<a href="Drawer.html#refs" class="tsd-index-link deprecated tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>refs</span></a>
|
|
38
40
|
<a href="Drawer.html#state" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>state</span></a>
|
|
39
41
|
<a href="Drawer.html#timeout" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>timeout</span></a>
|
|
40
|
-
<a href="Drawer.html#contextType" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>context<wbr/>Type
|
|
42
|
+
<a href="Drawer.html#contextType" class="tsd-index-link tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg><span>context<wbr/>Type?</span></a>
|
|
41
43
|
</div></section>
|
|
42
44
|
<section class="tsd-index-section">
|
|
43
45
|
<h3 class="tsd-index-heading">Methods</h3>
|
|
44
|
-
<div class="tsd-index-list"><a href="Drawer.html#UNSAFE_componentWillMount" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Mount
|
|
45
|
-
<a href="Drawer.html#UNSAFE_componentWillReceiveProps" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Receive<wbr/>Props
|
|
46
|
-
<a href="Drawer.html#UNSAFE_componentWillUpdate" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Update
|
|
47
|
-
<a href="Drawer.html#componentDidCatch" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>component<wbr/>Did<wbr/>Catch
|
|
46
|
+
<div class="tsd-index-list"><a href="Drawer.html#UNSAFE_componentWillMount" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Mount?</span></a>
|
|
47
|
+
<a href="Drawer.html#UNSAFE_componentWillReceiveProps" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Receive<wbr/>Props?</span></a>
|
|
48
|
+
<a href="Drawer.html#UNSAFE_componentWillUpdate" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Update?</span></a>
|
|
49
|
+
<a href="Drawer.html#componentDidCatch" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>component<wbr/>Did<wbr/>Catch?</span></a>
|
|
48
50
|
<a href="Drawer.html#componentDidMount" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>component<wbr/>Did<wbr/>Mount</span></a>
|
|
49
51
|
<a href="Drawer.html#componentDidUpdate" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>component<wbr/>Did<wbr/>Update</span></a>
|
|
50
|
-
<a href="Drawer.html#componentWillMount" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>component<wbr/>Will<wbr/>Mount
|
|
51
|
-
<a href="Drawer.html#componentWillReceiveProps" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>component<wbr/>Will<wbr/>Receive<wbr/>Props
|
|
52
|
+
<a href="Drawer.html#componentWillMount" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>component<wbr/>Will<wbr/>Mount?</span></a>
|
|
53
|
+
<a href="Drawer.html#componentWillReceiveProps" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>component<wbr/>Will<wbr/>Receive<wbr/>Props?</span></a>
|
|
52
54
|
<a href="Drawer.html#componentWillUnmount" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>component<wbr/>Will<wbr/>Unmount</span></a>
|
|
53
|
-
<a href="Drawer.html#componentWillUpdate" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>component<wbr/>Will<wbr/>Update
|
|
55
|
+
<a href="Drawer.html#componentWillUpdate" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>component<wbr/>Will<wbr/>Update?</span></a>
|
|
54
56
|
<a href="Drawer.html#forceUpdate" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>force<wbr/>Update</span></a>
|
|
55
|
-
<a href="Drawer.html#getSnapshotBeforeUpdate" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Snapshot<wbr/>Before<wbr/>Update
|
|
57
|
+
<a href="Drawer.html#getSnapshotBeforeUpdate" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Snapshot<wbr/>Before<wbr/>Update?</span></a>
|
|
56
58
|
<a href="Drawer.html#handleEsc" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>handle<wbr/>Esc</span></a>
|
|
57
59
|
<a href="Drawer.html#onClose" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>on<wbr/>Close</span></a>
|
|
58
60
|
<a href="Drawer.html#onOpen" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-private"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>on<wbr/>Open</span></a>
|
|
59
61
|
<a href="Drawer.html#render" class="tsd-index-link tsd-kind-method tsd-parent-kind-class"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>render</span></a>
|
|
60
62
|
<a href="Drawer.html#setState" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>set<wbr/>State</span></a>
|
|
61
|
-
<a href="Drawer.html#shouldComponentUpdate" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>should<wbr/>Component<wbr/>Update
|
|
63
|
+
<a href="Drawer.html#shouldComponentUpdate" class="tsd-index-link tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>should<wbr/>Component<wbr/>Update?</span></a>
|
|
62
64
|
</div></section></div></details></section></section>
|
|
63
65
|
<section class="tsd-panel-group tsd-member-group">
|
|
64
66
|
<h2>Constructors</h2>
|
|
@@ -75,7 +77,7 @@
|
|
|
75
77
|
<h4 class="tsd-returns-title">Returns <a href="Drawer.html" class="tsd-signature-type" data-tsd-kind="Class">Drawer</a></h4><aside class="tsd-sources">
|
|
76
78
|
<p>Overrides Component<Props, State>.constructor</p>
|
|
77
79
|
<ul>
|
|
78
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
80
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/6f438f2/src/components/ui/drawer/Drawer.tsx#L24">src/components/ui/drawer/Drawer.tsx:24</a></li></ul></aside></li></ul></section></section>
|
|
79
81
|
<section class="tsd-panel-group tsd-member-group">
|
|
80
82
|
<h2>Properties</h2>
|
|
81
83
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="context" class="tsd-anchor"></a>
|
|
@@ -94,13 +96,13 @@ Should be used with type annotation or static contextType.</p>
|
|
|
94
96
|
<li>Defined in node_modules/@types/react/index.d.ts:473</li></ul></aside></section>
|
|
95
97
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="props" class="tsd-anchor"></a>
|
|
96
98
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagReadonly">Readonly</code> <span>props</span><a href="#props" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
97
|
-
<div class="tsd-signature">props<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</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">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>children<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">ReactNode</span><span class="tsd-signature-symbol">
|
|
99
|
+
<div class="tsd-signature">props<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</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">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span><br/><span> </span>children<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">ReactNode</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
98
100
|
<p>Inherited from Component.props</p>
|
|
99
101
|
<ul>
|
|
100
102
|
<li>Defined in node_modules/@types/react/index.d.ts:498</li></ul></aside></section>
|
|
101
103
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="refs" class="tsd-anchor"></a>
|
|
102
104
|
<h3 class="tsd-anchor-link"><span class="deprecated">refs</span><a href="#refs" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
103
|
-
<div class="tsd-signature">refs<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span>[key: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReactInstance</span><span class="tsd-signature-symbol">
|
|
105
|
+
<div class="tsd-signature">refs<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>[key: <span class="tsd-signature-type">string</span>]<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReactInstance</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
|
|
104
106
|
<div class="tsd-comment tsd-typography">
|
|
105
107
|
<h3>Deprecated</h3><p><a href="https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs">https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs</a></p>
|
|
106
108
|
</div>
|
|
@@ -122,7 +124,7 @@ Should be used with type annotation or static contextType.</p>
|
|
|
122
124
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>timeout</span><a href="#timeout" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
123
125
|
<div class="tsd-signature">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><aside class="tsd-sources">
|
|
124
126
|
<ul>
|
|
125
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
127
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/6f438f2/src/components/ui/drawer/Drawer.tsx#L54">src/components/ui/drawer/Drawer.tsx:54</a></li></ul></aside></section>
|
|
126
128
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="contextType" class="tsd-anchor"></a>
|
|
127
129
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagStatic">Static</code> <code class="tsd-tag ts-flagOptional">Optional</code> <span>context<wbr/>Type</span><a href="#contextType" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
128
130
|
<div class="tsd-signature">context<wbr/>Type<span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Context</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">></span></div>
|
|
@@ -249,7 +251,7 @@ the entire component tree to unmount.</p>
|
|
|
249
251
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
250
252
|
<p>Overrides Component.componentDidMount</p>
|
|
251
253
|
<ul>
|
|
252
|
-
<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/6f438f2/src/components/ui/drawer/Drawer.tsx#L32">src/components/ui/drawer/Drawer.tsx:32</a></li></ul></aside></li></ul></section>
|
|
253
255
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="componentDidUpdate" class="tsd-anchor"></a>
|
|
254
256
|
<h3 class="tsd-anchor-link"><span>component<wbr/>Did<wbr/>Update</span><a href="#componentDidUpdate" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
255
257
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -263,7 +265,7 @@ the entire component tree to unmount.</p>
|
|
|
263
265
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
264
266
|
<p>Overrides Component.componentDidUpdate</p>
|
|
265
267
|
<ul>
|
|
266
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
268
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/6f438f2/src/components/ui/drawer/Drawer.tsx#L39">src/components/ui/drawer/Drawer.tsx:39</a></li></ul></aside></li></ul></section>
|
|
267
269
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="componentWillMount" class="tsd-anchor"></a>
|
|
268
270
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>component<wbr/>Will<wbr/>Mount</span><a href="#componentWillMount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
269
271
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
|
@@ -323,7 +325,7 @@ prevents this from being invoked.</p>
|
|
|
323
325
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
324
326
|
<p>Overrides Component.componentWillUnmount</p>
|
|
325
327
|
<ul>
|
|
326
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
328
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/6f438f2/src/components/ui/drawer/Drawer.tsx#L49">src/components/ui/drawer/Drawer.tsx:49</a></li></ul></aside></li></ul></section>
|
|
327
329
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="componentWillUpdate" class="tsd-anchor"></a>
|
|
328
330
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>component<wbr/>Will<wbr/>Update</span><a href="#componentWillUpdate" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
329
331
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
|
@@ -403,7 +405,7 @@ lifecycle events from running.</p>
|
|
|
403
405
|
<li class="tsd-description">
|
|
404
406
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
405
407
|
<ul>
|
|
406
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
408
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/6f438f2/src/components/ui/drawer/Drawer.tsx#L65">src/components/ui/drawer/Drawer.tsx:65</a></li></ul></aside></li></ul></section>
|
|
407
409
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="onClose" class="tsd-anchor"></a>
|
|
408
410
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>on<wbr/>Close</span><a href="#onClose" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
409
411
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
@@ -411,7 +413,7 @@ lifecycle events from running.</p>
|
|
|
411
413
|
<li class="tsd-description">
|
|
412
414
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
413
415
|
<ul>
|
|
414
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
416
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/6f438f2/src/components/ui/drawer/Drawer.tsx#L61">src/components/ui/drawer/Drawer.tsx:61</a></li></ul></aside></li></ul></section>
|
|
415
417
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private"><a id="onOpen" class="tsd-anchor"></a>
|
|
416
418
|
<h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagPrivate">Private</code> <span>on<wbr/>Open</span><a href="#onOpen" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
417
419
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
|
@@ -419,7 +421,7 @@ lifecycle events from running.</p>
|
|
|
419
421
|
<li class="tsd-description">
|
|
420
422
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
421
423
|
<ul>
|
|
422
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
424
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/6f438f2/src/components/ui/drawer/Drawer.tsx#L56">src/components/ui/drawer/Drawer.tsx:56</a></li></ul></aside></li></ul></section>
|
|
423
425
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="render" class="tsd-anchor"></a>
|
|
424
426
|
<h3 class="tsd-anchor-link"><span>render</span><a href="#render" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
425
427
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
|
@@ -428,17 +430,17 @@ lifecycle events from running.</p>
|
|
|
428
430
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Element</span></h4><aside class="tsd-sources">
|
|
429
431
|
<p>Overrides Component.render</p>
|
|
430
432
|
<ul>
|
|
431
|
-
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/
|
|
433
|
+
<li>Defined in <a href="https://github.com/dzek69/react-miui/blob/6f438f2/src/components/ui/drawer/Drawer.tsx#L69">src/components/ui/drawer/Drawer.tsx:69</a></li></ul></aside></li></ul></section>
|
|
432
434
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a id="setState" class="tsd-anchor"></a>
|
|
433
435
|
<h3 class="tsd-anchor-link"><span>set<wbr/>State</span><a href="#setState" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
434
436
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external">
|
|
435
437
|
<li class="tsd-signature tsd-anchor-link" id="setState.setState-1">set<wbr/>State<span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span>prevState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">></span>, props<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</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-symbol"> => </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">K</span><span class="tsd-signature-symbol">></span>, callback<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setState.setState-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
436
438
|
<li class="tsd-description">
|
|
437
|
-
<
|
|
438
|
-
<h4
|
|
439
|
+
<section class="tsd-panel tsd-type-parameters">
|
|
440
|
+
<h4>Type Parameters</h4>
|
|
439
441
|
<ul class="tsd-type-parameters">
|
|
440
442
|
<li>
|
|
441
|
-
<h4>K<span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">"shouldRenderWhenClosed"</span></h4></li></ul></
|
|
443
|
+
<h4>K<span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">"shouldRenderWhenClosed"</span></h4></li></ul></section>
|
|
442
444
|
<div class="tsd-parameters">
|
|
443
445
|
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
444
446
|
<ul class="tsd-parameter-list">
|
|
@@ -500,7 +502,7 @@ and <code>componentDidUpdate</code> will not be called.</p>
|
|
|
500
502
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
501
503
|
<div class="tsd-accordion-details">
|
|
502
504
|
<ul>
|
|
503
|
-
<li><a href="../modules.html">react-<wbr/>miui -<wbr/> v0.17.
|
|
505
|
+
<li><a href="../modules.html">react-<wbr/>miui -<wbr/> v0.17.3</a>
|
|
504
506
|
<ul>
|
|
505
507
|
<li class="pages-entry pages-entry-page pages-entry-depth-1"><a href="../pages/tutorials/Test.html">Test</a></li>
|
|
506
508
|
<li class="tsd-kind-namespace"><a href="../modules/Item.html">Item</a></li>
|
|
@@ -519,25 +521,25 @@ and <code>componentDidUpdate</code> will not be called.</p>
|
|
|
519
521
|
<li class="deprecated tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#refs" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>refs</a></li>
|
|
520
522
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#state" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>state</a></li>
|
|
521
523
|
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="Drawer.html#timeout" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>timeout</a></li>
|
|
522
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#contextType" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>context<wbr/>Type
|
|
523
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#UNSAFE_componentWillMount" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Mount
|
|
524
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#UNSAFE_componentWillReceiveProps" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Receive<wbr/>Props
|
|
525
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#UNSAFE_componentWillUpdate" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Update
|
|
526
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#componentDidCatch" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>component<wbr/>Did<wbr/>Catch
|
|
524
|
+
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#contextType" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-1024-path"></use><use href="#icon-1024-text"></use></svg>context<wbr/>Type?</a></li>
|
|
525
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#UNSAFE_componentWillMount" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Mount?</a></li>
|
|
526
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#UNSAFE_componentWillReceiveProps" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Receive<wbr/>Props?</a></li>
|
|
527
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#UNSAFE_componentWillUpdate" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Update?</a></li>
|
|
528
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#componentDidCatch" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>component<wbr/>Did<wbr/>Catch?</a></li>
|
|
527
529
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="Drawer.html#componentDidMount" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>component<wbr/>Did<wbr/>Mount</a></li>
|
|
528
530
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="Drawer.html#componentDidUpdate" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>component<wbr/>Did<wbr/>Update</a></li>
|
|
529
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#componentWillMount" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>component<wbr/>Will<wbr/>Mount
|
|
530
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#componentWillReceiveProps" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>component<wbr/>Will<wbr/>Receive<wbr/>Props
|
|
531
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#componentWillMount" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>component<wbr/>Will<wbr/>Mount?</a></li>
|
|
532
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#componentWillReceiveProps" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>component<wbr/>Will<wbr/>Receive<wbr/>Props?</a></li>
|
|
531
533
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="Drawer.html#componentWillUnmount" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>component<wbr/>Will<wbr/>Unmount</a></li>
|
|
532
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#componentWillUpdate" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>component<wbr/>Will<wbr/>Update
|
|
534
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#componentWillUpdate" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>component<wbr/>Will<wbr/>Update?</a></li>
|
|
533
535
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#forceUpdate" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>force<wbr/>Update</a></li>
|
|
534
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#getSnapshotBeforeUpdate" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Snapshot<wbr/>Before<wbr/>Update
|
|
536
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#getSnapshotBeforeUpdate" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Snapshot<wbr/>Before<wbr/>Update?</a></li>
|
|
535
537
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="Drawer.html#handleEsc" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>handle<wbr/>Esc</a></li>
|
|
536
538
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="Drawer.html#onClose" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>on<wbr/>Close</a></li>
|
|
537
539
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="Drawer.html#onOpen" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>on<wbr/>Open</a></li>
|
|
538
540
|
<li class="tsd-kind-method tsd-parent-kind-class"><a href="Drawer.html#render" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>render</a></li>
|
|
539
541
|
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#setState" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>set<wbr/>State</a></li>
|
|
540
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#shouldComponentUpdate" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>should<wbr/>Component<wbr/>Update
|
|
542
|
+
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-external"><a href="Drawer.html#shouldComponentUpdate" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>should<wbr/>Component<wbr/>Update?</a></li></ul></li></ul></nav></div></div>
|
|
541
543
|
<div class="container tsd-generator">
|
|
542
544
|
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
543
545
|
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|