import type { ReactNode } from 'react'; import React from 'react'; import type { TouchableOpacityProps } from 'react-native'; import type { IconName } from '../Icon'; interface FloatingIslandProps extends TouchableOpacityProps { /** * Callback that is called when the floating island is pressed. */ onPress?: () => void; /** * Children of the floating island. */ children: ReactNode; /** * Prefix element that is displayed before the children. */ prefix?: IconName | ReactNode; /** * Suffix element that is displayed after the children. */ suffix?: IconName | ReactNode; } declare const FloatingIsland: ({ onPress, onLayout, style, children, prefix, suffix, ...props }: FloatingIslandProps) => React.JSX.Element; export default FloatingIsland;