Skip to content

Commit

Permalink
docs(Search): remove unnecessary symbol ","
Browse files Browse the repository at this point in the history
  • Loading branch information
YSMJ1994 committed Mar 13, 2024
1 parent dcde241 commit 4c15a1b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions components/search/__docs__/demo/base/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ function onSearch(v: string) {

ReactDOM.render(
<div>
<p key="1">simple</p>,
<Search key="2" shape="simple" onSearch={onSearch} style={{ width: '400px' }} />,
<p key="3">default</p>,
<Search key="4" onSearch={onSearch} style={{ width: '400px' }} />,
<p key="5">custom text </p>,
<Search key="6" searchText="search" onSearch={onSearch} style={{ width: '400px' }} />,
<p key="7">custom text widthout icon</p>,
<p key="1">simple</p>
<Search key="2" shape="simple" onSearch={onSearch} style={{ width: '400px' }} />
<p key="3">default</p>
<Search key="4" onSearch={onSearch} style={{ width: '400px' }} />
<p key="5">custom text </p>
<Search key="6" searchText="search" onSearch={onSearch} style={{ width: '400px' }} />
<p key="7">custom text widthout icon</p>
<Search
key="8"
hasIcon={false}
Expand Down

0 comments on commit 4c15a1b

Please sign in to comment.