ant-design/components/transfer/__tests__/__snapshots__/search.test.js.snap

82 lines
1.4 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
2016-12-08 11:08:13 +08:00
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=""
>
2016-12-04 16:57:38 +08:00
<input
className="ant-input"
disabled={false}
onChange={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"
value=""
/>
</Input>
<span
className="undefined-action"
>
2017-04-13 11:18:31 +08:00
<Icon
type="search"
>
<i
className="anticon anticon-search"
/>
2017-04-13 11:18:31 +08:00
</Icon>
</span>
</div>
</Search>
`;
2016-12-08 11:08:13 +08:00
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"
>
2016-12-04 16:57:38 +08:00
<input
className="ant-input"
disabled={false}
onChange={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"
value="a"
/>
</Input>
<a
className="undefined-action"
href="#"
onClick={[Function]}
>
2017-04-13 11:18:31 +08:00
<Icon
type="cross-circle"
>
<i
className="anticon anticon-cross-circle"
/>
2017-04-13 11:18:31 +08:00
</Icon>
</a>
</div>
</Search>
`;