2016-11-25 12:03:39 +08:00
|
|
|
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}>
|
2016-12-04 16:57:38 +08:00
|
|
|
<input
|
|
|
|
className="ant-input"
|
|
|
|
disabled={false}
|
|
|
|
onChange={[Function]}
|
|
|
|
onKeyDown={[Function]}
|
|
|
|
placeholder=""
|
|
|
|
type="text"
|
|
|
|
value={true} />
|
2016-11-25 12:03:39 +08:00
|
|
|
</Input>
|
|
|
|
<span
|
|
|
|
className="undefined-action">
|
|
|
|
<Component
|
|
|
|
type="search">
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
className="anticon anticon-search" />
|
2016-11-25 12:03:39 +08:00
|
|
|
</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">
|
2016-12-04 16:57:38 +08:00
|
|
|
<input
|
|
|
|
className="ant-input"
|
|
|
|
disabled={false}
|
|
|
|
onChange={[Function]}
|
|
|
|
onKeyDown={[Function]}
|
|
|
|
placeholder=""
|
|
|
|
type="text"
|
|
|
|
value="a" />
|
2016-11-25 12:03:39 +08:00
|
|
|
</Input>
|
|
|
|
<a
|
|
|
|
className="undefined-action"
|
|
|
|
href="#"
|
|
|
|
onClick={[Function]}>
|
|
|
|
<Component
|
|
|
|
type="cross-circle">
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
className="anticon anticon-cross-circle" />
|
2016-11-25 12:03:39 +08:00
|
|
|
</Component>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</Search>
|
|
|
|
`;
|