JS: Add illegalSymbols prop for gui/text_input (#290)

* JS: Add illegalSymbols prop for gui/text_input

* Update changelog

* Fix gui example
This commit is contained in:
WillyJL
2024-11-04 08:38:59 +00:00
committed by GitHub
parent f8b280cb28
commit 30d7589f5c
7 changed files with 42 additions and 5 deletions

View File

@@ -22,6 +22,7 @@
* - `maxLength`: Maximum allowed text length
* - `defaultText`: Text to show by default
* - `defaultTextClear`: Whether to clear the default text on next character typed
* - `illegalSymbols`: Whether to show illegal filename symbols, available with JS feature `gui-textinput-illegalsymbols`
*
* @version Added in JS SDK 0.1
* @module
@@ -36,6 +37,7 @@ type Props = {
maxLength: number,
defaultText: string,
defaultTextClear: boolean,
illegalSymbols: boolean,
}
declare class TextInput extends View<Props> {
input: Contract<string>;

View File

@@ -1,6 +1,6 @@
{
"name": "@next-flip/fz-sdk-mntm",
"version": "0.1.2",
"version": "0.1.3",
"description": "Type declarations and documentation for native JS modules available on Momentum Custom Firmware for Flipper Zero",
"keywords": [
"momentum",