nitro-web 0.0.131 → 0.0.132
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.
|
@@ -35,8 +35,8 @@ export type SelectProps = {
|
|
|
35
35
|
prefix?: string
|
|
36
36
|
/** The onChange handler **/
|
|
37
37
|
onChange?: (event: { target: { name: string, value: unknown } }) => void
|
|
38
|
-
/** The options to display in the dropdown **/
|
|
39
|
-
options: { value: unknown, label: string | React.ReactNode, fixed?: boolean, [key: string]: unknown }[]
|
|
38
|
+
/** The options to display in the dropdown, data is used to pass additional data to the option **/
|
|
39
|
+
options: { value: unknown, label: string | React.ReactNode, fixed?: boolean, data?: { [key: string]: unknown } }[]
|
|
40
40
|
/** The state object to get the value and check errors from **/
|
|
41
41
|
state?: { errors?: Errors, [key: string]: any } // was unknown|unknown[]
|
|
42
42
|
/** Select variations **/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitro-web",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.132",
|
|
4
4
|
"repository": "github:boycce/nitro-web",
|
|
5
5
|
"homepage": "https://boycce.github.io/nitro-web/",
|
|
6
6
|
"description": "Nitro is a battle-tested, modular base project to turbocharge your projects, styled using Tailwind 🚀",
|