import React = require('react') import Uppy = require('@uppy/core') import { expectError } from 'tsd' import * as components from '../' const uppy = Uppy() function TestComponent() { return ( ) } // inline option should be removed from proptypes because it is always overridden // by the component expectError() expectError() expectError() { const el = ( ) } { const el = ( { alert('no') }} /> ) // use onRequestClose instead. expectError() }