diff options
Diffstat (limited to 'packages/forms/src/button')
-rw-r--r-- | packages/forms/src/button/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/forms/src/button/index.tsx b/packages/forms/src/button/index.tsx index b53c2da05..b81154a43 100644 --- a/packages/forms/src/button/index.tsx +++ b/packages/forms/src/button/index.tsx | |||
@@ -14,7 +14,7 @@ interface IProps extends IFormField, IWithStyle { | |||
14 | className?: string; | 14 | className?: string; |
15 | disabled?: boolean; | 15 | disabled?: boolean; |
16 | id?: string; | 16 | id?: string; |
17 | type?: string; | 17 | type?: "button" | "reset" | "submit" | undefined; |
18 | onClick: (event: React.MouseEvent<HTMLButtonElement> | React.MouseEvent<HTMLAnchorElement>) => void; | 18 | onClick: (event: React.MouseEvent<HTMLButtonElement> | React.MouseEvent<HTMLAnchorElement>) => void; |
19 | buttonType?: ButtonType; | 19 | buttonType?: ButtonType; |
20 | stretch?: boolean; | 20 | stretch?: boolean; |
@@ -187,7 +187,7 @@ class ButtonComponent extends Component<IProps> { | |||
187 | let showLoader = false; | 187 | let showLoader = false; |
188 | if (loaded) { | 188 | if (loaded) { |
189 | showLoader = !loaded; | 189 | showLoader = !loaded; |
190 | console.warn('Franz Button prop `loaded` will be deprecated in the future. Please use `busy` instead'); | 190 | console.warn('Ferdi Button prop `loaded` will be deprecated in the future. Please use `busy` instead'); |
191 | } | 191 | } |
192 | if (busy) { | 192 | if (busy) { |
193 | showLoader = busy; | 193 | showLoader = busy; |