Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf50ce81

Browse files
committed
- Added tooltip to control BUtton
1 parentae394c5 commitf50ce81

File tree

1 file changed

+45
-43
lines changed

1 file changed

+45
-43
lines changed

‎client/packages/lowcoder/src/comps/comps/meetingComp/controlButton.tsx‎

Lines changed: 45 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -257,49 +257,51 @@ let ButtonTmpComp = (function () {
257257
:undefined
258258
}
259259
>
260-
<Button100
261-
ref={props.viewRef}
262-
$buttonStyle={props.style}
263-
loading={props.loading}
264-
style={
265-
props.autoHeight
266-
?{
267-
width:"100%",
268-
height:"100%",
269-
aspectRatio:props.aspectRatio,
270-
borderRadius:props.style.radius,
271-
}
272-
:{
273-
aspectRatio:props.aspectRatio,
274-
borderRadius:props.style.radius,
275-
}
276-
}
277-
disabled={
278-
props.disabled||
279-
(!isDefault(props.type)&&
280-
getForm(editorState,props.form)?.disableSubmit())
281-
}
282-
onClick={()=>
283-
isDefault(props.type)
284-
?props.onEvent("click")
285-
:submitForm(editorState,props.form)
286-
}
287-
>
288-
{props.sourceMode==='standard'&&props.prefixIcon&&(
289-
<IconWrapper
290-
$style={{ ...props.style,size:props.iconSize}}
291-
>
292-
{props.prefixIcon}
293-
</IconWrapper>
294-
)}
295-
{props.sourceMode==='asset-library'&&props.iconScoutAsset&&(
296-
<IconScoutWrapper
297-
$style={{ ...props.style,size:props.iconSize}}
298-
>
299-
<imgsrc={props.iconScoutAsset.value}/>
300-
</IconScoutWrapper>
301-
)}
302-
</Button100>
260+
<Tooltiptitle={trans("meeting.meetingControlCompName")}>
261+
<Button100
262+
ref={props.viewRef}
263+
$buttonStyle={props.style}
264+
loading={props.loading}
265+
style={
266+
props.autoHeight
267+
?{
268+
width:"100%",
269+
height:"100%",
270+
aspectRatio:props.aspectRatio,
271+
borderRadius:props.style.radius,
272+
}
273+
:{
274+
aspectRatio:props.aspectRatio,
275+
borderRadius:props.style.radius,
276+
}
277+
}
278+
disabled={
279+
props.disabled||
280+
(!isDefault(props.type)&&
281+
getForm(editorState,props.form)?.disableSubmit())
282+
}
283+
onClick={()=>
284+
isDefault(props.type)
285+
?props.onEvent("click")
286+
:submitForm(editorState,props.form)
287+
}
288+
>
289+
{props.sourceMode==='standard'&&props.prefixIcon&&(
290+
<IconWrapper
291+
$style={{ ...props.style,size:props.iconSize}}
292+
>
293+
{props.prefixIcon}
294+
</IconWrapper>
295+
)}
296+
{props.sourceMode==='asset-library'&&props.iconScoutAsset&&(
297+
<IconScoutWrapper
298+
$style={{ ...props.style,size:props.iconSize}}
299+
>
300+
<imgsrc={props.iconScoutAsset.value}/>
301+
</IconScoutWrapper>
302+
)}
303+
</Button100>
304+
</Tooltip>
303305
</div>
304306
</Container>
305307
)}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp