UNPKG

@uiw/react-native

Version:
21 lines (20 loc) 661 B
import { ReactNode } from 'react'; import { ViewStyle, TextStyle } from 'react-native'; export interface ActionBarActionsProps { label?: string; onPress?: () => void; fontStyle?: TextStyle; render?: ReactNode; } export declare type ActionBarProps = { height?: number; backgroundColor?: string; actions?: ActionBarActionsProps[]; keepAbsoulte?: boolean; style?: ViewStyle; scroll?: boolean; useSafeArea?: boolean; focusIndex?: number; }; declare function ActionBar({ actions, style, keepAbsoulte, height, backgroundColor, scroll, useSafeArea, focusIndex, }: ActionBarProps): JSX.Element; export default ActionBar;