Skip to content

Commit 0a60384

Browse files
committed
formating removed-70
1 parent c96a0ed commit 0a60384

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const TextContainer = styled.div<{
8282
margin: 0;
8383
${props=>props.$animationStyle}
8484
${(props) =>
85-
props.$type === 'text' && 'white-space:break-spaces;line-height: 1.9;'};
85+
props.$type === "text" && "white-space:break-spaces;line-height: 1.9;"};
8686
${(props) => props.$styleConfig && getStyle(props.$styleConfig)}
8787
display: flex;
8888
font-size: 13px;
@@ -123,13 +123,13 @@ let TextTmpComp = (function () {
123123

124124
const childrenMap = {
125125
text: stringExposingStateControl(
126-
'text',
127-
trans('textShow.text', {name: '{{currentUser.name}}'})
126+
"text",
127+
trans("textShow.text", { name: "{{ currentUser.name}}" })
128128
),
129129
autoHeight: AutoHeightControl,
130-
type: dropdownControl(typeOptions, 'markdown'),
130+
type: dropdownControl(typeOptions, "markdown"),
131131
horizontalAlignment: alignWithJustifyControl(),
132-
verticalAlignment: dropdownControl(VerticalAlignmentOptions, 'center'),
132+
verticalAlignment: dropdownControl(VerticalAlignmentOptions, "center"),
133133
style: styleControl(TextStyle),
134134
animationStyle: styleControl(AnimationStyle),
135135
margin: MarginControl,
@@ -144,11 +144,11 @@ let TextTmpComp = (function () {
144144
$styleConfig={props.style}
145145
style={{
146146
justifyContent: props.horizontalAlignment,
147-
alignItems: props.autoHeight ? 'center' : props.verticalAlignment,
147+
alignItems: props.autoHeight ? "center" : props.verticalAlignment,
148148
textAlign: props.horizontalAlignment,
149149
}}
150150
>
151-
{props.type === 'markdown' ? (
151+
{props.type === "markdown" ? (
152152
<TacoMarkDown>{value}</TacoMarkDown>
153153
) : (
154154
value

0 commit comments

Comments
 (0)