Skip to content

Commit

Permalink
chore(Shell): fix spell error "palceholder -> placeholder", close #3564
Browse files Browse the repository at this point in the history
  • Loading branch information
YSMJ1994 committed Mar 1, 2024
1 parent c9ac16f commit 79d8935
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion components/shell/__docs__/adaptor/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default {
{
actions
? <Shell.Action>
<Search key="2" shape='simple' palceholder="Search" style={{width: '160px', marginRight: 20}}/>
<Search key="2" shape='simple' placeholder="Search" style={{width: '160px', marginRight: 20}}/>
<Icon type="ic_tongzhi" />
<img src="https://img.alicdn.com/tfs/TB1.ZBecq67gK0jSZFHXXa9jVXa-904-826.png" style={{width: 24, height: 24, borderRadius: '50%', verticalAlign: 'middle'}} alt="用户头像" />
<span style={{marginLeft: 10}}>Name</span>
Expand Down
2 changes: 1 addition & 1 deletion components/shell/__docs__/demo/basic/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class App extends React.Component {
key="2"
shape="simple"
type="dark"
palceholder="Search"
placeholder="Search"
style={{ width: '200px' }}
/>
</Shell.Navigation>
Expand Down
2 changes: 1 addition & 1 deletion components/shell/__docs__/demo/complicated/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class App extends React.Component {
key="2"
shape="simple"
type="dark"
palceholder="Search"
placeholder="Search"
style={{ width: '200px' }}
/>
</Shell.Navigation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class App extends React.Component {
key="2"
shape="simple"
type="dark"
palceholder="Search"
placeholder="Search"
style={{ width: '200px' }}
/>
</Shell.Navigation>
Expand Down
2 changes: 1 addition & 1 deletion components/shell/__docs__/demo/header-global/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class App extends React.Component {
key="2"
shape="simple"
type="dark"
palceholder="Search"
placeholder="Search"
style={{ width: '200px' }}
/>
</Shell.Navigation>
Expand Down
2 changes: 1 addition & 1 deletion components/shell/__docs__/theme/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class RenderShell extends React.Component {
{
demoFunction.actions.value === 'true'
? <Shell.Action>
<Search key="2" shape='simple' palceholder="Search" style={{width: '160px', marginRight: 20}}/>
<Search key="2" shape='simple' placeholder="Search" style={{width: '160px', marginRight: 20}}/>
<Icon type="ic_tongzhi" />
<img src="https://img.alicdn.com/tfs/TB1.ZBecq67gK0jSZFHXXa9jVXa-904-826.png" style={{width: 24, height: 24, borderRadius: '50%', verticalAlign: 'middle'}} alt="用户头像" />
<span style={{marginLeft: 10}}>Name</span>
Expand Down
2 changes: 1 addition & 1 deletion components/shell/__tests__/a11y-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('Shell A11y', () => {
<span style={{ marginLeft: 10 }}>App Name</span>
</Shell.Branding>
<Shell.Navigation direction="hoz">
<Search key="2" shape="simple" type="dark" palceholder="Search" style={{ width: '200px' }} />
<Search key="2" shape="simple" type="dark" placeholder="Search" style={{ width: '200px' }} />
</Shell.Navigation>
<Shell.Action>
<img
Expand Down
4 changes: 2 additions & 2 deletions components/shell/__tests__/index-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class App extends React.Component {
<span style={{ marginLeft: 10 }}>App Name</span>
</Shell.Branding>
<Shell.Navigation direction="hoz">
<Search key="2" shape="simple" type="dark" palceholder="Search" style={{ width: '200px' }} />
<Search key="2" shape="simple" type="dark" placeholder="Search" style={{ width: '200px' }} />
</Shell.Navigation>
<Shell.Action>
<img
Expand Down Expand Up @@ -192,7 +192,7 @@ describe('Shell', () => {
<span style={{ marginLeft: 10 }}>App Name</span>
</Shell.Branding>
<Shell.Navigation direction="hoz">
<Search key="2" shape="simple" type="dark" palceholder="Search" style={{ width: '200px' }} />
<Search key="2" shape="simple" type="dark" placeholder="Search" style={{ width: '200px' }} />
</Shell.Navigation>
<Shell.Action>
<img
Expand Down

0 comments on commit 79d8935

Please sign in to comment.