fix: re-add tracking my-stay
This commit is contained in:
committed by
Simon.Emanuelsson
parent
41acf6ee52
commit
2adb0e92eb
@@ -12,15 +12,21 @@ import styles from "./button.module.css"
|
||||
interface ButtonProps extends React.PropsWithChildren {
|
||||
icon: MaterialIconProps["icon"]
|
||||
isDisabled?: boolean
|
||||
onClick?: () => void
|
||||
}
|
||||
|
||||
export default function Button({
|
||||
children,
|
||||
icon,
|
||||
isDisabled = false,
|
||||
onClick = () => {},
|
||||
}: ButtonProps) {
|
||||
return (
|
||||
<ButtonRAC className={styles.button} isDisabled={isDisabled}>
|
||||
<ButtonRAC
|
||||
className={styles.button}
|
||||
isDisabled={isDisabled}
|
||||
onPress={onClick}
|
||||
>
|
||||
<MaterialIcon color="Icon/Interactive/Default" icon={icon} />
|
||||
<Typography variant="Body/Paragraph/mdBold">
|
||||
<span className={styles.text}>{children}</span>
|
||||
|
||||
Reference in New Issue
Block a user