Skip to content

Commit 430ad8a

Browse files
committed
chore: fix lint
1 parent 76f2c97 commit 430ad8a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

examples/basic.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class Demo extends React.Component {
259259
choiceTransitionName="rc-tree-select-selection__choice-zoom"
260260
style={{ width: 300 }}
261261
// dropdownStyle={{ height: 200, overflow: 'auto' }}
262-
dropdownAlign={{
262+
popupAlign={{
263263
overflow: { adjustY: 0, adjustX: 0 },
264264
offset: [0, 2],
265265
}}
@@ -327,7 +327,7 @@ class Demo extends React.Component {
327327
<h2>Testing in extreme conditions (Boundary conditions test) </h2>
328328
<TreeSelect
329329
style={{ width: 200 }}
330-
dropdownStyle={{ maxHeight: 200, overflow: 'auto' }}
330+
popupStyle={{ maxHeight: 200, overflow: 'auto' }}
331331
defaultValue="leaf1"
332332
multiple
333333
treeCheckable

examples/custom-icons.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function Demo() {
8686
placeholder={<span>Please Select</span>}
8787
transitionName="rc-tree-select-dropdown-slide-up"
8888
style={{ width: 300 }}
89-
dropdownStyle={{ maxHeight: 200, overflow: 'auto', zIndex: 1500 }}
89+
popupStyle={{ maxHeight: 200, overflow: 'auto', zIndex: 1500 }}
9090
showSearch
9191
allowClear
9292
{...iconProps}
@@ -99,7 +99,7 @@ function Demo() {
9999
placeholder={<span>Please Select</span>}
100100
transitionName="rc-tree-select-dropdown-slide-up"
101101
style={{ width: 300 }}
102-
dropdownStyle={{ maxHeight: 200, overflow: 'auto', zIndex: 1500 }}
102+
popupStyle={{ maxHeight: 200, overflow: 'auto', zIndex: 1500 }}
103103
showSearch
104104
allowClear
105105
{...iconPropsFunction}

examples/filter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class Demo extends React.Component {
8282
<h2>use treeDataSimpleMode</h2>
8383
<TreeSelect
8484
style={{ width: 300 }}
85-
dropdownStyle={{ maxHeight: 200, overflow: 'auto' }}
85+
popupStyle={{ maxHeight: 200, overflow: 'auto' }}
8686
placeholder={<i>请下拉选择</i>}
8787
treeLine
8888
maxTagTextLength={10}

tests/Select.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ describe('TreeSelect.basic', () => {
6262
it('renders tree correctly', () => {
6363
const wrapper = mount(
6464
<TreeSelect
65-
dropdownClassName="awesome"
66-
dropdownStyle={{ width: 300 }}
65+
popupClassName="awesome"
66+
popupStyle={{ width: 300 }}
6767
multiple
6868
treeCheckable
6969
treeDefaultExpandAll

0 commit comments

Comments
 (0)