@kne/search-input
v0.1.0
Published
输入关键字后执行搜索
Downloads
111
Keywords
Readme
search-input
描述
输入关键字后执行搜索
安装
npm i --save @kne/search-input
示例
示例样式
.ant-card {
border-color: black;
text-align: center;
width: 200px;
}
示例代码
- 这里填写示例标题
- 这里填写示例说明
- _SearchInput(@kne/current-lib_search-input)[import * as _SearchInput from "@kne/search-input"],antd(antd),(@kne/current-lib_search-input/dist/index.css)
const { default: SearchInput } = _SearchInput;
const { Flex } = antd;
const BaseExample = () => {
return <Flex vertical gap={8}>
<SearchInput />
<SearchInput simple />
<SearchInput showSearchButton />
</Flex>;
};
render(<BaseExample />);
API
| 属性名 | 说明 | 类型 | 默认值 | |-----|----|----|-----| | | | | |