@uyun/pro-exception
异常
Last updated 3 years ago by liupeng .
UNLICENSED · Repository ·
$ cnpm install @uyun/pro-exception 
Private package

异常

页面异常时的状态反馈。异常页用于对页面特定的异常状态进行反馈。通常,它包含对错误状态的阐述,并向用户提供建议或操作,避免用户感到迷失和困惑。

安装

yarn add @uyun/pro

使用

import { Exception } from "@uyun/pro";

示例

404

<Example path="NotFound" />

500

<Example path="ServerError" />

403

<Example path="Unauthorized" />

属性

字段 说明 类型 默认值
type 异常类型,可选值参考示例 string -
title 标题 string | ReactNode -
image 背景图片地址 string -
description 描述 string | ReactNode -
redirect 返回操作的跳转地址,默认为首页 string '/'
actions 建议操作 ReactNode -

Current Tags

  • 1.0.1-dev.0                                ...           dev (3 years ago)
  • 1.0.2                                ...           latest (3 years ago)

12 Versions

  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.1-dev.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.1.2-dev.0                                ...           3 years ago
  • 0.1.2-alpha.5                                ...           3 years ago
  • 0.1.2-alpha.4                                ...           3 years ago
  • 0.1.2-alpha.3                                ...           3 years ago
  • 0.1.2-alpha.2                                ...           3 years ago
  • 0.1.2-alpha.1                                ...           3 years ago
  • 0.1.2-alpha.0                                ...           3 years ago
  • 0.1.1-alpha.0                                ...           3 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org