You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2024/08/05 05:21:40 UTC
(incubator-devlake) branch main updated: feat: support more props for icon button (#7831)
This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new aa16e2a8a feat: support more props for icon button (#7831)
aa16e2a8a is described below
commit aa16e2a8a6a254b4e7292a00078d6f47133dfda7
Author: 青湛 <0x...@gmail.com>
AuthorDate: Mon Aug 5 17:21:36 2024 +1200
feat: support more props for icon button (#7831)
---
config-ui/src/components/action/icon-button/index.tsx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/config-ui/src/components/action/icon-button/index.tsx b/config-ui/src/components/action/icon-button/index.tsx
index fb63f60f7..f7bc8b1d9 100644
--- a/config-ui/src/components/action/icon-button/index.tsx
+++ b/config-ui/src/components/action/icon-button/index.tsx
@@ -20,7 +20,11 @@ import { forwardRef, Ref } from 'react';
import type { ButtonProps } from 'antd';
import { Tooltip, Button } from 'antd';
-interface Props extends Pick<ButtonProps, 'icon' | 'type' | 'size' | 'onClick'> {
+interface Props
+ extends Pick<
+ ButtonProps,
+ 'type' | 'icon' | 'size' | 'disabled' | 'loading' | 'ghost' | 'danger' | 'block' | 'onClick'
+ > {
helptip: string;
}