We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1896de commit a78b7e4Copy full SHA for a78b7e4
src/components/LineEdit/RNLineEdit.ts
@@ -8,6 +8,27 @@ import { ViewProps, setViewProps } from "../View/RNView";
8
import { RNWidget } from "../config";
9
import { throwUnsupported } from "../../utils/helpers";
10
11
+ /**
12
+ * The LineEdit component provides ability to add and manipulate native editable text field widgets. It is based on
13
+ * [NodeGui's QLineEdit](https://docs.nodegui.org/docs/api/generated/classes/qlineedit).
14
+ * ## Example
15
+ * ```javascript
16
+ * import React from "react";
17
+ * import { Renderer, LineEdit, Window } from "@nodegui/react-nodegui";
18
+ * const App = () => {
19
+ * const handleTextChanged = textValue => {
20
+ * console.log(textValue);
21
+ * };
22
+ * return (
23
+ * <Window>
24
+ * <LineEdit on={{ textChanged: handleTextChanged }} />
25
+ * </Window>
26
+ * );
27
28
+ * Renderer.render(<App />);
29
+ *
30
+ * ```
31
+ */
32
export interface LineEditProps extends ViewProps<QLineEditSignals> {
33
text?: string;
34
placeholderText?: string;
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments