ChocolateLoverRaj / rc-antd-error-result

Easy error handling React component using Ant Design.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rc-antd-error-result

Created with TS-Standard - Typescript Standard Style Guide

Demo / Docs / Storybook

Install

npm i rc-antd-error-result

Example

import ErrorResult from 'rc-antd-error-result'

<ErrorResult 
  error={new Error('Some error')}
  title="Something didn't work"
  retry={() => {}}
  cancel={() => {}}
  className='a class name if you want'
/>

You can play around with props in the storybook demo.

About

Easy error handling React component using Ant Design.

License:MIT License


Languages

Language:TypeScript 85.7%Language:JavaScript 14.3%