@etsoo/smarterp-core 1.0.41 → 1.0.43
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.
|
@@ -14,7 +14,7 @@ export declare namespace DefaultUI {
|
|
|
14
14
|
* @param isMobile Whether is mobile
|
|
15
15
|
* @returns Result
|
|
16
16
|
*/
|
|
17
|
-
function tabsProps(isMobile
|
|
17
|
+
function tabsProps(isMobile?: boolean): Partial<TabBoxProps>;
|
|
18
18
|
/**
|
|
19
19
|
* Widths of icon columns
|
|
20
20
|
*/
|
|
@@ -14,7 +14,7 @@ export declare namespace DefaultUI {
|
|
|
14
14
|
* @param isMobile Whether is mobile
|
|
15
15
|
* @returns Result
|
|
16
16
|
*/
|
|
17
|
-
function tabsProps(isMobile
|
|
17
|
+
function tabsProps(isMobile?: boolean): Partial<TabBoxProps>;
|
|
18
18
|
/**
|
|
19
19
|
* Widths of icon columns
|
|
20
20
|
*/
|
package/package.json
CHANGED
|
@@ -34,14 +34,13 @@ export namespace DefaultUI {
|
|
|
34
34
|
* @param isMobile Whether is mobile
|
|
35
35
|
* @returns Result
|
|
36
36
|
*/
|
|
37
|
-
export function tabsProps(isMobile
|
|
37
|
+
export function tabsProps(isMobile?: boolean) {
|
|
38
38
|
const props: Partial<TabBoxProps> = isMobile
|
|
39
39
|
? {
|
|
40
40
|
sx: { maxWidth: { xs: 320, sm: 480 } },
|
|
41
41
|
variant: "scrollable",
|
|
42
42
|
scrollButtons: "auto",
|
|
43
|
-
allowScrollButtonsMobile: true
|
|
44
|
-
centered: true
|
|
43
|
+
allowScrollButtonsMobile: true
|
|
45
44
|
}
|
|
46
45
|
: {};
|
|
47
46
|
|