Skip to content

Commit c92fe5d

Browse files
authored
fix: Mark "textInputRef" and "blurComponentIOS" as optional (#103)
1 parent 4bb7872 commit c92fe5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Container.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import PropTypes from "prop-types";
1515
const iOS = Platform.OS === "ios";
1616

1717
export interface DialogContainerProps {
18-
blurComponentIOS: ReactNode;
18+
blurComponentIOS?: ReactNode;
1919
buttonSeparatorStyle?: ViewStyle;
2020
contentStyle?: ViewStyle;
2121
footerStyle?: ViewStyle;

src/Input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import PropTypes from "prop-types";
1717
export interface DialogInputProps extends TextInputProps {
1818
label?: string;
1919
wrapperStyle?: ViewStyle;
20-
textInputRef: LegacyRef<TextInput>;
20+
textInputRef?: LegacyRef<TextInput>;
2121
}
2222

2323
const DialogInput: React.FC<DialogInputProps> = (props) => {

0 commit comments

Comments
 (0)