You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.4 KiB
70 lines
1.4 KiB
8 years ago
|
exports[`Search should show cross icon when input value exists 1`] = `
|
||
8 years ago
|
<Search
|
||
|
placeholder=""
|
||
8 years ago
|
value="">
|
||
8 years ago
|
<div>
|
||
|
<Input
|
||
|
autosize={false}
|
||
|
disabled={false}
|
||
|
onChange={[Function]}
|
||
|
placeholder=""
|
||
|
prefixCls="ant-input"
|
||
|
type="text"
|
||
8 years ago
|
value="">
|
||
8 years ago
|
<input
|
||
|
className="ant-input"
|
||
|
disabled={false}
|
||
|
onChange={[Function]}
|
||
|
onKeyDown={[Function]}
|
||
|
placeholder=""
|
||
|
type="text"
|
||
8 years ago
|
value="" />
|
||
8 years ago
|
</Input>
|
||
|
<span
|
||
|
className="undefined-action">
|
||
|
<Component
|
||
|
type="search">
|
||
|
<i
|
||
8 years ago
|
className="anticon anticon-search" />
|
||
8 years ago
|
</Component>
|
||
|
</span>
|
||
|
</div>
|
||
|
</Search>
|
||
|
`;
|
||
|
|
||
8 years ago
|
exports[`Search should show cross icon when input value exists 2`] = `
|
||
8 years ago
|
<Search
|
||
|
placeholder=""
|
||
|
value="a">
|
||
|
<div>
|
||
|
<Input
|
||
|
autosize={false}
|
||
|
disabled={false}
|
||
|
onChange={[Function]}
|
||
|
placeholder=""
|
||
|
prefixCls="ant-input"
|
||
|
type="text"
|
||
|
value="a">
|
||
8 years ago
|
<input
|
||
|
className="ant-input"
|
||
|
disabled={false}
|
||
|
onChange={[Function]}
|
||
|
onKeyDown={[Function]}
|
||
|
placeholder=""
|
||
|
type="text"
|
||
|
value="a" />
|
||
8 years ago
|
</Input>
|
||
|
<a
|
||
|
className="undefined-action"
|
||
|
href="#"
|
||
|
onClick={[Function]}>
|
||
|
<Component
|
||
|
type="cross-circle">
|
||
|
<i
|
||
8 years ago
|
className="anticon anticon-cross-circle" />
|
||
8 years ago
|
</Component>
|
||
|
</a>
|
||
|
</div>
|
||
|
</Search>
|
||
|
`;
|