분류 Reactjs

React LoadCon

컨텐츠 정보

  • 조회 501 (작성일 )

본문

https://foreseaz.github.io/react-loadcon/ 


Favicon 로딩 유형


  • percentage: PropTypes.number.isRequired, the percentage of loading progress for LoadCon.
  • type: PropTypes.oneOf(['pie', 'donut']), the theme of LoadCon, now has PieCon and DonutCon, and more themes will be added soon.
  • status: PropTypes.oneOf(['normal', 'active', 'exception', 'success']), load status of LoadCon, normal reset to default favicon, active set LoadCon according to the type prop, exception set ErrorCon and success set SuccessCon.
  • color: PropTypes.string, color of loading indicator in hash format, default is #25c639.
  • background: PropTypes.string, color of background in hash format, default is #eeeeee.
  • shadow: PropTypes.string, color of 2 pixals border in hash format, default is #ffffff.
  • donutWidth: PropTypes.number, width of DonutCon indicator in number, default is 8px.