Skip to content

Commit ad55345

Browse files
author
Aqib Mirza
committed
fix : code formatting reverted
1 parent ce564a9 commit ad55345

File tree

4 files changed

+92
-190
lines changed

4 files changed

+92
-190
lines changed

client/packages/lowcoder/src/comps/index.tsx

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ import { ModalComp } from "comps/hooks/modalComp";
44
import { ButtonComp } from "./comps/buttonComp/buttonComp";
55
import { DropdownComp } from "./comps/buttonComp/dropdownComp";
66
import { LinkComp } from "./comps/buttonComp/linkComp";
7-
import {
8-
ContainerComp,
9-
defaultContainerData,
10-
} from "./comps/containerComp/containerComp";
7+
import { ContainerComp, defaultContainerData } from "./comps/containerComp/containerComp";
118
import { CustomComp } from "./comps/customComp/customComp";
129
import { DatePickerComp, DateRangeComp } from "./comps/dateComp/dateComp";
1310
import { DividerComp } from "./comps/dividerComp";
@@ -98,12 +95,7 @@ import {
9895

9996
import { defaultFormData, FormComp } from "./comps/formComp/formComp";
10097
import { IFrameComp } from "./comps/iframeComp";
101-
import {
102-
defaultGridData,
103-
defaultListViewData,
104-
GridComp,
105-
ListViewComp,
106-
} from "./comps/listViewComp";
98+
import { defaultGridData, defaultListViewData, GridComp, ListViewComp } from "./comps/listViewComp";
10799
import { ModuleComp } from "./comps/moduleComp/moduleComp";
108100
import { NavComp } from "./comps/navComp/navComp";
109101
import { TableComp } from "./comps/tableComp";
@@ -828,7 +820,7 @@ const uiCompMap: Registry = {
828820
layoutInfo: {
829821
w: 24,
830822
h: 60,
831-
},
823+
}
832824
},
833825
signature: {
834826
name: trans("uiComp.signatureCompName"),

client/packages/lowcoder/src/comps/uiCompRegistry.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ import { JSONValue } from "util/jsonTypes";
55
import { EditorState } from "./editorState";
66
import { trans } from "i18n";
77

8-
export type ExposingMultiCompConstructor = ReturnType<
9-
typeof withExposingConfigs
10-
>;
8+
export type ExposingMultiCompConstructor = ReturnType<typeof withExposingConfigs>;
119
// Required when the container generates default child comps
1210
type CompDefaultDataFunction = (
1311
compName: string,
@@ -117,10 +115,7 @@ export type UICompType =
117115

118116
export const uiCompRegistry = {} as Record<UICompType | string, UICompManifest>;
119117

120-
export function registerComp(
121-
compType: UICompType | string,
122-
manifest: UICompManifest
123-
) {
118+
export function registerComp(compType: UICompType | string, manifest: UICompManifest) {
124119
uiCompRegistry[compType] = {
125120
...manifest,
126121
keywords: [manifest.name, manifest.enName, manifest.keywords]

0 commit comments

Comments
 (0)