@nutui/nutui-react 2.6.7 → 2.6.8

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/dist/style.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui-react v2.6.7 Tue May 28 2024 17:32:12 GMT+0800 (China Standard Time)
2
+ * @nutui/nutui-react v2.6.8 Fri May 31 2024 16:00:53 GMT+0800 (China Standard Time)
3
3
  * (c) 2023 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -18,6 +18,7 @@ export interface ButtonProps extends BasicComponent, OmitMiniProgramButtonProps
18
18
  disabled: boolean;
19
19
  icon: React.ReactNode;
20
20
  rightIcon: React.ReactNode;
21
+ nativeType: 'submit' | 'reset' | 'button';
21
22
  onClick: (e: MouseEvent<HTMLButtonElement>) => void;
22
23
  }
23
24
  export declare const Button: React.ForwardRefExoticComponent<Omit<Partial<ButtonProps>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui-react",
3
- "version": "2.6.7",
3
+ "version": "2.6.8",
4
4
  "style": "dist/style.css",
5
5
  "main": "dist/nutui.react.umd.js",
6
6
  "module": "dist/esm/nutui-react.es.js",