import from @sunflower-antd
JIACHENG9 opened this issue · 2 comments
JIACHENG9 commented
@sunflower-antd
依赖 @sunflower-hooks
。
用户使用一般情况只用管 @sunflower-antd
比如:
import { useSearchResult } from '@sunflower-antd/search-result';
function Component() {
const { Form, Table } = useSearchResult(config);
return <div>
<Form />
<Table />
</div>
}
这样让 @sunflower-hooks 也更好测试,以及可被其他依赖,比如 antd mobile 等。
JIACHENG9 commented
done