@dhasdk/simple-ui 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/index.js +16 -15
- package/index.mjs +926 -923
- package/lib/Search.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1327,6 +1327,7 @@ Full list of props below
|
|
|
1327
1327
|
| className | **`string`** | Yes | see (1) below | alternate css classes to add/change styling of the div that wraps the input element. |
|
|
1328
1328
|
| iconLink | **`boolean`** | Yes | **`{false}`** | If set to true, a search icon is displayed that when clicked will expand into a wider Search component. |
|
|
1329
1329
|
| searchableData | **`SearchDataItem[]`** | No | undefined | The data that the search component uses as its data source. This data must conform to the SearchDataItem interface. An example data file is shown above. |
|
|
1330
|
+
| searchHint | **`string`** | Yes | **`"Search result"`** | Changes the default input element hint text |
|
|
1330
1331
|
| setSearchResults | **`(DataSearchResults) => return void`** | Yes |undefined | If the use case entails sending the user to a separate results page, provide a function here that takes those search and performs the desired action. See (2) below for the DataSearchResults definition. |
|
|
1331
1332
|
|
|
1332
1333
|
1. Default className
|