Skip to content

Commit d666531

Browse files
committed
Update index.tsx
1 parent 3487329 commit d666531

File tree

1 file changed

+8
-4
lines changed
  • packages/main/src/webComponents/Input

1 file changed

+8
-4
lines changed

packages/main/src/webComponents/Input/index.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,14 @@ export interface InputPropTypes extends InputAttributes, Omit<CommonProps, 'onCh
106106
*
107107
* Example:
108108
*
109-
* <Input show-suggestions>
110-
*     <SuggestionItem text="Item #1"></SuggestionItem>
111-
*     <SuggestionItem text="Item #2"></SuggestionItem>
112-
* </Input>
109+
* <pre>
110+
* <code>
111+
* &lt;Input showSuggestions><br />
112+
* &nbsp;&nbsp;&lt;SuggestionItem text="Item #1" /><br />
113+
* &nbsp;&nbsp;&lt;SuggestionItem text="Item #2" /><br />
114+
* &lt;/Input>
115+
* </code>
116+
* </pre>
113117
*
114118
*
115119
* **Note:** The suggestions would be displayed only if the `showSuggestions` property is set to `true`.

0 commit comments

Comments
 (0)