Skip to content

ChocolateLoverRaj/rc-antd-error-result

Repository files navigation

rc-antd-error-result

Created with TS-Standard - Typescript Standard Style Guide

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.