@uiw-admin/exceptions
TypeScript icon, indicating that this package has built-in type declarations

6.1.9 • Public • Published

公共异常组件

npm version

  1. 403 页面
  2. 404 页面
  3. 500 页面

安装

  npm i @uiw-admin/exceptions --save # yarn add @uiw-admin/exceptions

403页面预览

import { Exceptions403 } from '@uiw-admin/exceptions'
import React from 'react'

const Demo = () => <Exceptions403 />

export default Demo

404页面预览

import { Exceptions404 } from '@uiw-admin/exceptions'
import React from 'react'

const Demo = () => <Exceptions404 />

export default Demo

500页面预览

import { Exceptions500 } from '@uiw-admin/exceptions'
import React from 'react'

const Demo = () => <Exceptions500 />

export default Demo

ExceptionsProps

参数 说明 类型 默认值
path 按钮跳转链接 string /home
btnText 按钮文字 string 返回首页

贡献者

感谢所有的贡献者,欢迎开发者为开源项目贡献力量。

License

Licensed under the MIT License.

Dependencies (1)

Dev Dependencies (8)

Package Sidebar

Install

npm i @uiw-admin/exceptions

Weekly Downloads

1

Version

6.1.9

License

MIT

Unpacked Size

292 kB

Total Files

34

Last publish

Collaborators

  • uiwjs
  • wcjiang