Skip to content

Commit 53cda19

Browse files
committed
Merge branch 'master' of github.com:GeekyAnts/NativeBase
2 parents 586f27c + eedd66a commit 53cda19

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

dist/src/basic/Checkbox.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/src/basic/Checkbox.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,7 @@ declare module "native-base" {
565565
interface CheckBox {
566566
checked?: boolean;
567567
color?: string;
568+
onPress?: Function;
568569
}
569570
/**
570571
* see Widget CheckBox.js

src/basic/Checkbox.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ CheckBox.propTypes = {
5555
...TouchableOpacity.propTypes,
5656
style: PropTypes.oneOfType([PropTypes.object, PropTypes.number, PropTypes.array]),
5757
checked: PropTypes.bool,
58+
onPress: PropTypes.func,
5859
};
5960

6061
const StyledCheckBox = connectStyle("NativeBase.CheckBox", {}, mapPropsToStyleNames)(CheckBox);

0 commit comments

Comments
 (0)