mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-12 11:55:23 +08:00
82 lines
1.4 KiB
Plaintext
82 lines
1.4 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Search should show cross icon when input value exists 1`] = `
|
|
<Search
|
|
placeholder=""
|
|
value=""
|
|
>
|
|
<div>
|
|
<Input
|
|
disabled={false}
|
|
onChange={[Function]}
|
|
placeholder=""
|
|
prefixCls="ant-input"
|
|
type="text"
|
|
value=""
|
|
>
|
|
<input
|
|
className="ant-input"
|
|
disabled={false}
|
|
onChange={[Function]}
|
|
onKeyDown={[Function]}
|
|
placeholder=""
|
|
type="text"
|
|
value=""
|
|
/>
|
|
</Input>
|
|
<span
|
|
className="undefined-action"
|
|
>
|
|
<Icon
|
|
type="search"
|
|
>
|
|
<i
|
|
className="anticon anticon-search"
|
|
/>
|
|
</Icon>
|
|
</span>
|
|
</div>
|
|
</Search>
|
|
`;
|
|
|
|
exports[`Search should show cross icon when input value exists 2`] = `
|
|
<Search
|
|
placeholder=""
|
|
value="a"
|
|
>
|
|
<div>
|
|
<Input
|
|
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]}
|
|
>
|
|
<Icon
|
|
type="cross-circle"
|
|
>
|
|
<i
|
|
className="anticon anticon-cross-circle"
|
|
/>
|
|
</Icon>
|
|
</a>
|
|
</div>
|
|
</Search>
|
|
`;
|