1.1.7 • Published 2 years ago

search-component-ui v1.1.7

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

搜索组件UI库

本插件基于如下环境开发,期望建立用于搜索场景的UI模块库,实现搜索模块UI的跨项目快速复用。

依赖环境

"react": "17.0.2",
"react-native": "0.66.4",

基本设计思路

avatar

安装

npm i search-component-ui
或者
yarn add search-component-ui

使用

// 引入自己需要的UI模块
import { TodayOilPrice } from 'search-component-ui'

<TodayOilPrice 
  // 油价数据
  data={todayOilPriceData}
  // 油价趋势按钮响应方法
  checkFutureOilPrice={checkFutureOilPrice}
  // 油价计算按钮响应方法
  calculateOilPrice={calculateOilPrice}
  // 模块标题
  title='百度今日油价'
/>

落地相关思考

1,不同项目像素格式化工具引入的处理,自定义样式的支持;
2,本插件为纯UI展示和交互,是否需要考虑安全合规,是否有必要保存在内网npm源上?
3,出一份使用文档,方便项目后续维护,和一定条件下的能力推广;

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago