Skip to content

Commit cee773f

Browse files
committed
feat: icon container has center style
1 parent be4b60b commit cee773f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

lib/BouncyCheckbox.style.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ export default StyleSheet.create<any>({
4646
height: size,
4747
borderRadius: size / 2,
4848
backgroundColor: checked ? fillColor : unfillColor,
49+
alignItems: "center",
50+
justifyContent: "center",
4951
}),
5052
innerIconContainer: (size: number, fillColor: string) => ({
5153
width: size,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-bouncy-checkbox",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "Fully customizable animated bouncy checkbox for React Native",
55
"keywords": [
66
"bouncy",

0 commit comments

Comments
 (0)