Skip to content

Commit

Permalink
docs(MenuDropdown): 统一主题颜色
Browse files Browse the repository at this point in the history
  • Loading branch information
nullptr-z committed Feb 28, 2023
1 parent 3ae9299 commit ee93bb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default function ButtonView<T>(props: ButtonProps) {
borderWidth = 0;
}
const buttonStyle = {
backgroundColor,
backgroundColor: backgroundColor || '#fff5',
borderColor,
borderWidth,
borderRadius,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/MenuDropdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function MenuDropdown(props: MenuDropdownProps) {
};
return (
<View style={[styles.menuBox, { height: listHeight + 50 }]}>
<Button {...btnProps} color={btnProps.color || '#035bb6'} onPress={handleonPress} size={size}>
<Button {...btnProps} color={btnProps.color} onPress={handleonPress} size={size}>
<Text>{title}</Text>
<Icon name={btnIcon} size={17} />
</Button>
Expand Down

0 comments on commit ee93bb3

Please sign in to comment.