0.0.6 • Published 5 years ago

igroot-app-notify v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

App Notify 组件

应用消息通知组件

使用说明

代码演示

直接调用。

import React from 'react'
import { Button } from 'igroot'
import notify from 'igroot-app-notify'

notify({
  url: 'http://test.com',
  user: 100,
  app: 200
})

包裹组件用法。

import React from 'react'
import { Button } from 'igroot'
import notify from 'igroot-app-notify'

const notifyElement = notify({
  url: 'http://test.com',
  user: 100,
  app: 200
}, (
  <Button
    draggable
    shape="circle"
    type="primary"
    icon="sound"
  />
))

ReactDOM.render(notifyElement, mountNode)
0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago