fix: several type and build errors and fix example type inference (#399)

* fix few type errors and fix example

* couple fixes

* fix babel
This commit is contained in:
Brandon Bayer
2023-06-13 17:36:42 -04:00
committed by GitHub
parent bebd998a55
commit a3f9709dde
7 changed files with 24 additions and 15 deletions

View File

@@ -58,7 +58,7 @@ export type UserInputProps = {
export type ChangeProps<TData> = {
value: TData
onChange: (updater: Updater<TData>) => void
onChange: (value: TData) => void
onBlur: (event: any) => void
}