upcoming tournament page, minor changes
This commit is contained in:
@@ -17,6 +17,7 @@ interface SlidePanelProps {
|
||||
onCancel?: () => void;
|
||||
submitText?: string;
|
||||
cancelText?: string;
|
||||
cancelColor?: string;
|
||||
maxHeight?: string;
|
||||
formProps?: Record<string, any>;
|
||||
loading?: boolean;
|
||||
@@ -28,6 +29,7 @@ const SlidePanel = ({
|
||||
onCancel,
|
||||
submitText = "Submit",
|
||||
cancelText = "Cancel",
|
||||
cancelColor = "red",
|
||||
maxHeight = "70vh",
|
||||
formProps = {},
|
||||
loading = false,
|
||||
@@ -114,7 +116,7 @@ const SlidePanel = ({
|
||||
{onCancel && (
|
||||
<Button
|
||||
variant="subtle"
|
||||
color="red"
|
||||
color={cancelColor}
|
||||
fullWidth
|
||||
onClick={onCancel}
|
||||
type="button"
|
||||
|
||||
Reference in New Issue
Block a user