You need some Wrapper Component. Example and some explaining can be found in this topic, but I ended up using wc-react
import {wrapWc} from "wc-react";
export default () => {
const SpCheckbox = wrapWc("sp-checkbox")
return (
<SpCheckbox
onChange={(e) => func()}
>Checkbox</SpCheckbox>
)
}
Same with sp-picker