xmirror-components 1.0.30-alpha.3 → 1.0.30-alpha.4

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.
@@ -20,6 +20,6 @@ interface InternalSearchAreaProps extends FormProps<any> {
20
20
  declare const SearchArea: React.FC<InternalSearchAreaProps> & {
21
21
  Item: typeof Item;
22
22
  ToggleButton: typeof ToggleButton;
23
- useSearchArea: () => SearchAreaHooks;
23
+ useSearchArea: (defaultShow?: boolean) => SearchAreaHooks;
24
24
  };
25
25
  export default SearchArea;
@@ -242,7 +242,7 @@ declare interface Options<TData, TParams extends unknown[]> extends Options_2<TD
242
242
  export declare const SearchArea: default_2.FC<InternalSearchAreaProps> & {
243
243
  Item: typeof Index;
244
244
  ToggleButton: typeof ToggleButton;
245
- useSearchArea: () => SearchAreaHooks;
245
+ useSearchArea: (defaultShow?: boolean) => SearchAreaHooks;
246
246
  };
247
247
 
248
248
  declare interface SearchAreaHooks {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmirror-components",
3
- "version": "1.0.30-alpha.3",
3
+ "version": "1.0.30-alpha.4",
4
4
  "type": "module",
5
5
  "main": "build/lib/index.js",
6
6
  "module": "build/es/index.js",
@@ -20,6 +20,6 @@ interface InternalSearchAreaProps extends FormProps<any> {
20
20
  declare const SearchArea: React.FC<InternalSearchAreaProps> & {
21
21
  Item: typeof Item;
22
22
  ToggleButton: typeof ToggleButton;
23
- useSearchArea: () => SearchAreaHooks;
23
+ useSearchArea: (defaultShow?: boolean) => SearchAreaHooks;
24
24
  };
25
25
  export default SearchArea;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmirror-components",
3
- "version": "1.0.30-alpha.3",
3
+ "version": "1.0.30-alpha.4",
4
4
  "type": "module",
5
5
  "main": "build/lib/index.js",
6
6
  "module": "build/es/index.js",