UNPKG

@freakycoder/animated-tabbar

Version:

A 60FPS animated tab bar with a variety of cool animation presets.

16 lines (15 loc) 703 B
import React from 'react'; import { LayoutRectangle, ViewStyle } from 'react-native'; import Animated from 'react-native-reanimated'; interface RawButtonProps { index: number; selectedIndex: Animated.SharedValue<number>; accessibilityLabel: string; children: React.ReactNode[] | React.ReactNode; style?: Animated.AnimateStyle<ViewStyle>; animatedOnChange: (index: number) => void; onLongPress: (index: number) => void; onLayout?: (index: number, layout: LayoutRectangle) => void; } declare const RawButton: ({ index, selectedIndex, accessibilityLabel, children, style, animatedOnChange, onLongPress, onLayout, }: RawButtonProps) => JSX.Element; export default RawButton;