UNPKG

kubric

Version:

Android's co-ordinator layout ported to work on react native (iOS and Android)

14 lines (13 loc) 812 B
import * as React from 'react'; import { Animated, ViewStyle, ImageStyle, ImageURISource } from 'react-native'; import { CLAppBar } from './AppBar'; export declare class CLBottomBar extends CLAppBar { protected containerStyle: () => ViewStyle; protected shadowImageSource: () => number | ImageURISource; protected separatorStyle: () => ImageStyle; /** * V4TODO: There is a bug in bottom bar. * Item placement should be controlled with 'bottom' position instead of 'top' position. */ protected renderItems: (scrollBehaviourOffset: Animated.AnimatedInterpolation) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)>[]; }