diff --git a/web/app/components/base/button/index.tsx b/web/app/components/base/button/index.tsx index 24d58c6ea5..e617a5d12d 100644 --- a/web/app/components/base/button/index.tsx +++ b/web/app/components/base/button/index.tsx @@ -3,16 +3,13 @@ import React from 'react' import Spinner from '../spinner' export type IButtonProps = { - /** - * The style of the button - */ - type?: 'primary' | 'warning' | (string & {}) + type?: string className?: string disabled?: boolean loading?: boolean tabIndex?: number children: React.ReactNode - onClick?: MouseEventHandler + onClick?: MouseEventHandler } const Button: FC = ({ @@ -38,16 +35,15 @@ const Button: FC = ({ } return ( - + ) }