0.1.0 • Published 9 months ago

@kne/search-input v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

search-input

描述

输入关键字后执行搜索

安装

npm i --save @kne/search-input

示例

示例样式

.ant-card {
  border-color: black;
  text-align: center;
  width: 200px;
}

示例代码

const { default: SearchInput } = _SearchInput;
const { Flex } = antd;

const BaseExample = () => {
  return <Flex vertical gap={8}>
    <SearchInput />
    <SearchInput simple />
    <SearchInput showSearchButton />
  </Flex>;
};

render(<BaseExample />);

API

属性名说明类型默认值
0.1.0

9 months ago