import { PropsWithChildren, type ComponentRef, type ForwardRefExoticComponent, type RefAttributes } from 'react'; import { WithStyledProps } from '@mapples/style'; import { PressableProps as RNPressableProps, View } from 'react-native'; /** * Props for the Pressable component. * * Extends React Native's `PressableProps` with the `@mapples/style` styling * system via `WithStyledProps`. * * @public */ export type PressableProps = WithStyledProps; /** * A styled pressable container component. * * Wraps React Native's `Pressable` with the `@mapples/style` `StyledPressable` * primitive, exposing the full `WithStyledProps` styling API. * * @example * ```tsx * console.log('pressed')} * styled={{ style: { padding: 12, backgroundColor: 'blue' } }} * > * Press me * * ``` * * @public */ declare const Pressable: ForwardRefExoticComponent & RefAttributes>>; export default Pressable; //# sourceMappingURL=Pressable.d.ts.map