react-native-ios-list
Version:
iOS-styled List component
17 lines (16 loc) • 708 B
TypeScript
import { ReactElement, PropsWithChildren } from 'react';
import { StyleProp, ViewStyle } from 'react-native';
export declare type ListProps = PropsWithChildren<{
inset?: boolean;
sideBar?: boolean;
hideDividers?: boolean;
header?: string | ReactElement<any>;
footer?: string | ReactElement<any>;
backgroundColor?: string;
containerBackgroundColor?: string;
dividerColor?: string;
headerColor?: string;
footerColor?: string;
style?: StyleProp<ViewStyle>;
}>;
export declare const List: ({ inset, sideBar, hideDividers, header, footer, backgroundColor, containerBackgroundColor, headerColor, footerColor, dividerColor, style, children, }: ListProps) => JSX.Element;