- Switched to pnpm - Updated to typescript 4.9.5 - JSX transforms switched to react-jsx - Use swc for typescript transforms - Remove deprecated dependencies - Cleanup unused types - Some ESM fixes - PostCSS config now lives in package.json - Bump support target TODO: - switch to vite or plain esbuild - jest to vitest / uvu - jquery to cash-dom - pure ESM (lodash-es, etc.) - drop prettier & husky (lint-staged is okay) - drop wasm cli & xterm.js - update bootstrap
17 lines
256 B
TypeScript
17 lines
256 B
TypeScript
import React from 'react'
|
|
import type ReaptchaProps from 'reaptcha'
|
|
|
|
class Reaptcha extends React.Component<ReaptchaProps, {}> {
|
|
execute() {
|
|
this.props.onVerify('token')
|
|
}
|
|
|
|
reset() {}
|
|
|
|
render() {
|
|
return <></>
|
|
}
|
|
}
|
|
|
|
export default Reaptcha
|