Compare commits

...

2 Commits

Author SHA1 Message Date
semantic-release-bot
b92e6a5b9d chore(release): 0.4.1 [CI SKIP] 2022-06-05 13:11:12 +00:00
Jonas Dellinger
32c355f2a7 fix(textfield): correct type for onChange callback 2022-06-05 15:10:23 +02:00
3 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
## [0.4.1](https://github.com/SteamDeckHomebrew/decky-frontend-lib/compare/v0.4.0...v0.4.1) (2022-06-05)
### Bug Fixes
* **textfield:** correct type for onChange callback ([32c355f](https://github.com/SteamDeckHomebrew/decky-frontend-lib/commit/32c355f2a7e0b6ca6592b956e8174d217766bc5c))
# [0.4.0](https://github.com/SteamDeckHomebrew/decky-frontend-lib/compare/v0.3.0...v0.4.0) (2022-06-05)

View File

@@ -1,6 +1,6 @@
{
"name": "decky-frontend-lib",
"version": "0.4.0",
"version": "0.4.1",
"description": "A library for building decky plugins",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@@ -18,7 +18,7 @@ export interface TextFieldProps {
focusOnMount?: boolean;
tooltip?: string;
inlineControls?: ReactNode;
onChange?(event: ChangeEventHandler<HTMLInputElement>): void;
onChange?: ChangeEventHandler<HTMLInputElement>;
value?: string;
}