Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 257 Bytes

Catch.md

File metadata and controls

16 lines (12 loc) · 257 Bytes

Catch

React componentDidCatch component that displays errors

import React from 'react'
import { Catch } from '@compositor/kit'
import Button from '../src/Button'

export default props => (
  <Catch>
    <Button>Hello</Button>
  </Catch>
)