We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c1efc0 commit e34e635Copy full SHA for e34e635
client/packages/lowcoder-design/src/components/button.tsx
@@ -1,4 +1,6 @@
1
import Button, { ButtonProps } from "antd/es/button";
2
+import Spin from "antd/es/spin";
3
+import LoadingOutlined from "@ant-design/icons/LoadingOutlined"
4
import styled, { css } from "styled-components";
5
import { Loading } from "./Loading";
6
import * as React from "react";
@@ -206,10 +208,15 @@ const TacoButton = forwardRef(
206
208
{props.icon}
207
209
{props.children}
210
</span>
- <Loading
211
+ {/* <Loading
212
style={loadingStyle}
213
backgroundColor={loadingBackground}
214
color={loadingColor}
215
+ /> */}
216
+ <Spin
217
+ size="small"
218
+ indicator={<LoadingOutlined spin style={{color: 'white'}} />}
219
+ style={loadingStyle}
220
/>
221
</>
222
) : (
0 commit comments