nuke-biz-custom-feedback

0.0.3 • Public • Published

CustomFeedback

  • category: UI
  • chinese: 图标
  • type: UI组件

何时使用

页面顶部的提示条,默认占满全屏宽度

API

参数 说明 类型 默认值
type 类型:'success', 'info', 'warning', 'error' string 'success'
title 错误标题 string
message 错误内容 string

demo

const md={
  Core:{
    'color-brand1-6':'#1a9cb7',
    'font-size-body-2': 14 * 2,
    'font-size-body-1': 14 * 2,
    'font-size-caption': 12 * 2,
  }
}
return (
  <StyleProvider style={md} androidConfigs={{ materialDesign: true }}>
    <CustomFeedback type="success" title="Success" message="There is something right for the right there is something right" />

    <CustomFeedback type="info" title="Infomational Notes"/>

    <CustomFeedback type="warning" title="Warning" message="There is something right for the right there is something right" />

    <CustomFeedback type="error" title="Error" message="There is something right for the right there is something right" />
  </StyleProvider>
)

Package Sidebar

Install

npm i nuke-biz-custom-feedback

Weekly Downloads

0

Version

0.0.3

License

none

Unpacked Size

981 kB

Total Files

15

Last publish

Collaborators

  • leanhunter