react-native-ios-list
Version:
iOS-styled List component
13 lines (12 loc) • 585 B
TypeScript
import { PropsWithChildren, ReactElement } from 'react';
import { StyleProp, ViewStyle } from 'react-native';
export declare type RowProps = PropsWithChildren<{
leading?: ReactElement<any> | ReactElement<any>[] | null;
trailing?: ReactElement<any> | ReactElement<any>[] | null;
hideDivider?: boolean;
backgroundColor?: string;
highlightColor?: string;
style?: StyleProp<ViewStyle>;
onPress?: () => void;
}>;
export declare const Row: ({ leading, trailing, backgroundColor, hideDivider, highlightColor, onPress, style, children, }: RowProps) => JSX.Element;