Skip to content

Commit c67d70b

Browse files
committed
fix
1 parent ebb6e62 commit c67d70b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/common/CustomButton.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,9 @@ const getCombinedStyles = (type, state, size) => {
7979
// CustomButton component definition
8080
// --------------------------------------------
8181
const CustomButton = ({
82-
containerStyle, // Custom styles for the button container
8382
onPress, // Function to call when the button is pressed
8483
text = "", // Text to display on the button
85-
type = "secondary", // Button type (primary, secondary, tertiary, ghost)
84+
type = "primary", // Button type (primary, secondary, tertiary, ghost)
8685
size = 4, // Button size (1 to 4)
8786
leftIcon, // Icon to display on the left side of the button
8887
rightIcon, // Icon to display on the right side of the button
@@ -137,7 +136,6 @@ const CustomButton = ({
137136
...(scaling === "full" ? { flexGrow: 1 } : { alignSelf: "flex-start" }),
138137
maxHeight: combinedStyles.height,
139138
},
140-
containerStyle,
141139
]}
142140
onPress={handlePress}
143141
onPressIn={handlePressIn}

0 commit comments

Comments
 (0)