Open saidhappy010 opened 4 years ago
having the same
I too wanted only one DialogFooter but was receiving the error, so I just added a blank <></> and the error disappeared! Strange
I too wanted only one DialogFooter but was receiving the error, so I just added a blank <></> and the error disappeared! Strange
where to added "<></>"?
I too wanted only one DialogFooter but was receiving the error, so I just added a blank <></> and the error disappeared! Strange
where to added "<></>"?
For eg:-
<DialogFooter bordered={false} style={{ marginTop: -15 * ratio }}> <DialogButton text="CANCEL" onPress={() => props.handleCancelClick()} textStyle={{ fontSize: RFValue(dijoriTheme.SIZES.FORTEENPT), fontFamily: "Raleway-Medium" }} align="right" /> <></> </DialogFooter>
I am using "react-native-popup-dialog", it is really great, but there is a warning that appears on terminal
what I noticed is that when I use DialogFooter with 2 children, the warning does not appear, but with one child the warning appears. like that
please, how to fix this problem?