made variant complusory

This commit is contained in:
Abhinav-grd 2021-04-25 21:05:43 +05:30
parent 5d08b099cc
commit dfdbd1894f
2 changed files with 4 additions and 1 deletions

View file

@ -9,7 +9,7 @@ export interface MessageAttributes {
proceed?: {
text: string;
action: any;
variant?: string;
variant: string;
disabled?: boolean;
};
content?: any;

View file

@ -95,6 +95,7 @@ function PlanSelector(props: Props) {
props.setLoading,
props.closeModal
),
variant: 'success',
},
close: { text: constants.CANCEL },
});
@ -236,6 +237,7 @@ function PlanSelector(props: Props) {
props.closeModal,
props.setLoading
),
variant: 'success',
},
close: {
text: constants.CANCEL,
@ -263,6 +265,7 @@ function PlanSelector(props: Props) {
props.closeModal,
props.setLoading
),
variant: 'danger',
},
close: {
text: constants.CANCEL,