From 1c21ecb184382115d8bee1dc28efff0fa7bcd534 Mon Sep 17 00:00:00 2001 From: Marc Woolfson Date: Tue, 25 Feb 2020 00:09:13 +0000 Subject: [PATCH] =?UTF-8?q?Incorrect=20casing=20on=20`unCheckedImage`=20pr?= =?UTF-8?q?op=20in=20`CheckBoxProps`=20f=E2=80=A6=20(#42595)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/react-native-check-box/index.d.ts | 2 +- types/react-native-check-box/react-native-check-box-tests.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/types/react-native-check-box/index.d.ts b/types/react-native-check-box/index.d.ts index 62efe2a79b..d311bb3919 100644 --- a/types/react-native-check-box/index.d.ts +++ b/types/react-native-check-box/index.d.ts @@ -15,7 +15,7 @@ export interface CheckBoxProps { rightTextStyle?: StyleProp; rightTextView?: React.ReactNode; checkedImage?: React.ReactElement; - uncheckedImage?: React.ReactElement; + unCheckedImage?: React.ReactElement; isChecked: boolean; onClick: () => void; disabled?: boolean; diff --git a/types/react-native-check-box/react-native-check-box-tests.tsx b/types/react-native-check-box/react-native-check-box-tests.tsx index 68035b4ed8..1a828395d2 100644 --- a/types/react-native-check-box/react-native-check-box-tests.tsx +++ b/types/react-native-check-box/react-native-check-box-tests.tsx @@ -15,6 +15,7 @@ export default class MyCheckBox extends React.Component { leftTextStyle={{ color: 'red', fontSize: 10 }} leftText={'Check me!'} checkedImage={} + unCheckedImage={} rightTextView={} /> );