mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 07:28:28 +08:00
a307a7acf7
* remove unnecessary computed props for classNames * rollback autocomplete optimization for possible css style order issue * update snapshots * remove more unnecessary computed props at Input
76 lines
1.5 KiB
Plaintext
76 lines
1.5 KiB
Plaintext
exports[`Search shows cross icon when user inputting 1`] = `
|
|
<Search
|
|
placeholder=""
|
|
value={true}>
|
|
<div>
|
|
<Input
|
|
autosize={false}
|
|
disabled={false}
|
|
onChange={[Function]}
|
|
placeholder=""
|
|
prefixCls="ant-input"
|
|
type="text"
|
|
value={true}>
|
|
<span
|
|
className="ant-input-wrapper">
|
|
<input
|
|
className="ant-input"
|
|
disabled={false}
|
|
onChange={[Function]}
|
|
onKeyDown={[Function]}
|
|
placeholder=""
|
|
type="text"
|
|
value={true} />
|
|
</span>
|
|
</Input>
|
|
<span
|
|
className="undefined-action">
|
|
<Component
|
|
type="search">
|
|
<i
|
|
className="anticon anticon-search" />
|
|
</Component>
|
|
</span>
|
|
</div>
|
|
</Search>
|
|
`;
|
|
|
|
exports[`Search shows cross icon when user inputting 2`] = `
|
|
<Search
|
|
placeholder=""
|
|
value="a">
|
|
<div>
|
|
<Input
|
|
autosize={false}
|
|
disabled={false}
|
|
onChange={[Function]}
|
|
placeholder=""
|
|
prefixCls="ant-input"
|
|
type="text"
|
|
value="a">
|
|
<span
|
|
className="ant-input-wrapper">
|
|
<input
|
|
className="ant-input"
|
|
disabled={false}
|
|
onChange={[Function]}
|
|
onKeyDown={[Function]}
|
|
placeholder=""
|
|
type="text"
|
|
value="a" />
|
|
</span>
|
|
</Input>
|
|
<a
|
|
className="undefined-action"
|
|
href="#"
|
|
onClick={[Function]}>
|
|
<Component
|
|
type="cross-circle">
|
|
<i
|
|
className="anticon anticon-cross-circle" />
|
|
</Component>
|
|
</a>
|
|
</div>
|
|
</Search>
|
|
`;
|