Skip to content

Commit b933645

Browse files
committed
update destroyOnClose to destroyOnHidden
1 parent f59f0cd commit b933645

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/examples/ant-design.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ const MyControl: React.FC = () => {
210210
</button>
211211
&nbsp;
212212
<label>
213-
destroy on close:
213+
destroy on hidden:
214214
<input type="checkbox" checked={destroyOnHidden} onChange={onDestroyOnHiddenChange} />
215215
</label>
216216
&nbsp;

docs/examples/bootstrap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ const MyControl: React.FC = () => {
120120
</button>
121121
&nbsp;
122122
<label>
123-
destroy on close:
123+
destroy on hidden:
124124
<input type="checkbox" checked={destroyOnHidden} onChange={onDestroyOnHiddenChange} />
125125
</label>
126126
</p>

0 commit comments

Comments
 (0)