Skip to content

Commit ef93faf

Browse files
committed
formating removed-16
1 parent f2c4de3 commit ef93faf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/packages/lowcoder/src/comps/comps/buttonComp/toggleButtonComp.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const ToggleTmpComp = (function () {
8787
}}
8888
>
8989
{props.iconPosition === "right" && text}
90-
{<IconWrapper>{props.value.value ? props.trueIcon : props.falseIcon}</IconWrapper>}
90+
{<IconWrapper>{props.value.value ? props.trueIcon : props.falseIcon}</IconWrapper>}
9191
{props.iconPosition === "left" && text}
9292
</Button100>
9393
</ButtonCompWrapperStyled>
@@ -102,7 +102,7 @@ const ToggleTmpComp = (function () {
102102
})}
103103
</Section>
104104

105-
{(useContext(EditorContext).editorModeStatus === "logic" || useContext(EditorContext).editorModeStatus === "both") && (
105+
{(useContext(EditorContext).editorModeStatus === "logic" || useContext(EditorContext).editorModeStatus === "both") && (
106106
<><Section name={sectionNames.interaction}>
107107
{children.onEvent.getPropertyView()}
108108
{disabledPropertyView(children)}
@@ -121,11 +121,11 @@ const ToggleTmpComp = (function () {
121121
children.iconPosition.propertyView({
122122
label: trans("toggleButton.iconPosition"),
123123
radioButton: true,
124-
})}
124+
})}
125125
{children.alignment.propertyView({
126126
label: trans("toggleButton.alignment"),
127127
radioButton: true,
128-
})}
128+
})}
129129
</Section>
130130
</>
131131
)}

0 commit comments

Comments
 (0)