feat(monorepo): migrate to typescript monorepo

This commit is contained in:
2025-11-07 17:09:29 +02:00
committed by BernardNganduDev
parent 3e09956f05
commit 075a388ccb
745 changed files with 2341 additions and 5082 deletions
@@ -0,0 +1,25 @@
import { ArrowLeft } from "@tamagui/lucide-icons";
import { Button, ButtonProps } from "tamagui";
type BackButtonProps = {
onPress: () => void;
};
export const BackButton = (props: BackButtonProps & ButtonProps) => {
const { onPress, ...rest } = props;
return (
<Button
chromeless
alignSelf="flex-start"
size="$4"
width="$4"
height="$4"
borderRadius="$12"
// backgroundColor="$gray6"
icon={<ArrowLeft size="$1" />}
onPress={onPress}
{...rest}
/>
);
};