made variant complusory
This commit is contained in:
parent
5d08b099cc
commit
dfdbd1894f
|
@ -9,7 +9,7 @@ export interface MessageAttributes {
|
|||
proceed?: {
|
||||
text: string;
|
||||
action: any;
|
||||
variant?: string;
|
||||
variant: string;
|
||||
disabled?: boolean;
|
||||
};
|
||||
content?: any;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue