Usage

ReactDOM.render(
  <Notification
    title="Note:"
    content="Life is tough, but I'm tougher"
    type="info"
    width={200} />,
  document
);

API

name type default description
title String notification的title,不设置则没有title
content String notification的content
type String notification的类型,包括默认值,info,success,warning,danger
width Number notification的宽度

Copyright © 2017 MIT License