0.0.5 • Published 2 years ago
@hankliu/rc-footer v0.0.5
@hankliu/rc-footer
在 HankLiu WebApp 页面中使用的通用的 Footer 组件,包含 Logo,产品矩阵,联系我们,关于产品等模块内容。
功能特征
- Logo
- 产品矩阵
- 联系我们
- 关于产品
安装
npm install @hankliu/rc-footer --saveor
yarn add @hankliu/rc-footeror
pnpm install @hankliu/rc-footerUsage
npm install
npm startimport Footer from '@hankliu/rc-footer';
export default () => (
  <Footer />
);API
| 名称 | 类型 | 默认值 | 描述 | 
|---|---|---|---|
| className | string | - | 组件外层元素classname | 
| prefixCls | string | hlui-footer | 组件外层元素 classname 前缀 | 
| productLinks | Array<{ name: string, link: string}> | 默认值在如下所示 | 产品列表 | 
productLinks 参数默认值
[
  {
    name: '设计动画',
    link: 'https://hankliu62.github.io/icss/',
  },
  {
    name: '个人简历',
    link: 'https://hankliu62.github.io/resume/',
  },
  {
    name: '面试宝典',
    link: 'https://hankliu62.github.io/interview/',
  },
  {
    name: 'Hank-Design',
    link: 'https://hankliu62.github.io/hankliu-ui/',
  },
  {
    name: '中午吃什么',
    link: 'https://hankliu62.github.io/what-lunch/',
  },
  {
    name: '懒人选择器',
    link: 'https://hankliu62.github.io/lucky-choose/',
  },
]案例
npm start 然后打开 http://localhost:8000/examples/
线上案例: https://hankliu62.github.io/rc-footer
单元测试
npm test覆盖率
npm run coverageLicense
@hankliu/rc-footer is released under the MIT license.
0.0.5
2 years ago
0.0.3
2 years ago
0.0.2-beta.3
2 years ago
0.0.2-beta.2
2 years ago
0.0.2-beta.1
2 years ago
0.0.2-beta.0
2 years ago
0.0.1
2 years ago