pressto-button
Installation
SKILL.md
Setup
Add PressablesConfig with haptics to your root layout:
import { PressablesConfig } from "pressto";
import * as Haptics from "expo-haptics";
export default function RootLayout() {
return (
<PressablesConfig
globalHandlers={{
onPressIn: () => Haptics.selectionAsync(),
}}
>
<Stack>
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
</Stack>
</PressablesConfig>
Related skills