mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
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:
@@ -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>;
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user