mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 04:18:28 +08:00
70 lines
1.4 KiB
Plaintext
70 lines
1.4 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}>
|
|
<input
|
|
className="ant-input"
|
|
disabled={false}
|
|
onChange={[Function]}
|
|
onKeyDown={[Function]}
|
|
placeholder=""
|
|
type="text"
|
|
value={true} />
|
|
</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">
|
|
<input
|
|
className="ant-input"
|
|
disabled={false}
|
|
onChange={[Function]}
|
|
onKeyDown={[Function]}
|
|
placeholder=""
|
|
type="text"
|
|
value="a" />
|
|
</Input>
|
|
<a
|
|
className="undefined-action"
|
|
href="#"
|
|
onClick={[Function]}>
|
|
<Component
|
|
type="cross-circle">
|
|
<i
|
|
className="anticon anticon-cross-circle" />
|
|
</Component>
|
|
</a>
|
|
</div>
|
|
</Search>
|
|
`;
|