comp-footer

1.0.0 • Public • Published

comp-footer image

API

属性 说明 类型 默认值
children 内嵌子元素 Any
style 自定义样式 Object

Example

import React from 'react';
import { render } from 'react-dom';
import CompFooter from 'comp-footer';

render(
  <CompFooter style={{textAlign: 'center'}}>
    <div>Ant Design Admin © 2018 Power by Frend</div>
  </CompFooter>,
  document.getElementById('app')
);

Develop

$ npm run start

Publish

$ cd ../..          // 返回项目根目录,通过 `lerna` 来构建与发布
$ npm run build
$ npm publish

Readme

Keywords

Package Sidebar

Install

npm i comp-footer

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

8.56 kB

Total Files

18

Last publish

Collaborators

  • frend.wong
  • youhuakun