diff --git a/packages/hippy_ui_react/src/components/Button/PropsType.tsx b/packages/hippy_ui_react/src/components/Button/PropsType.tsx index 8937c61..b3592ce 100644 --- a/packages/hippy_ui_react/src/components/Button/PropsType.tsx +++ b/packages/hippy_ui_react/src/components/Button/PropsType.tsx @@ -1,5 +1,5 @@ import { ReactNode } from 'react'; -import { GenericStyleProp, ViewStyle } from '@hippy/react'; +import { GenericStyleProp, Style } from '@hippy/react'; import { ThemeMode } from '../../themeConfig'; export enum ButtonType { @@ -32,7 +32,7 @@ export interface ButtonProps { /** 设置前置图片 */ image?: string | ReactNode; /** 自定义样式(可设置文字样式,会被透传下去) */ - style?: GenericStyleProp; + style?: GenericStyleProp