1
0
mirror of synced 2026-04-03 06:28:35 +08:00

style(ui): eslint fix

This commit is contained in:
roymondchen
2022-06-07 16:24:58 +08:00
committed by jia000
parent 4944b27464
commit a418bf14de
6 changed files with 45 additions and 38 deletions

View File

@@ -34,11 +34,7 @@ const Page: React.FC<ButtonProps> = ({ config }) => {
const MagicUiText = app.resolveComponent('text');
return (
<button
className="magic-ui-button"
style={app.transformStyle(config.style || {})}
id={`${config.id || ''}`}
>
<button className="magic-ui-button" style={app.transformStyle(config.style || {})} id={`${config.id || ''}`}>
<MagicUiText
config={{
text: config.text,