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

exports[`Search should show cross icon when input value exists 1`] = `
<Search
placeholder=""
value="">
<div>
<Input
autosize={false}
disabled={false}
onChange={[Function]}
placeholder=""
prefixCls="ant-input"
type="text"
value="">
8 years ago
<input
className="ant-input"
disabled={false}
onChange={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"
value="" />
</Input>
<span
className="undefined-action">
<Component
type="search">
<i
className="anticon anticon-search" />
</Component>
</span>
</div>
</Search>
`;
exports[`Search should show cross icon when input value exists 2`] = `
<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" />
</Input>
<a
className="undefined-action"
href="#"
onClick={[Function]}>
<Component
type="cross-circle">
<i
className="anticon anticon-cross-circle" />
</Component>
</a>
</div>
</Search>
`;