import React from 'react'; import { ViewProps } from 'react-native'; import { ListAvatar } from './ListAvatar'; import { ListIcon } from './ListIcon'; import { ListItem } from './ListItem'; import { ListSubheader } from './ListSubheader'; export interface ListProps extends ViewProps { children?: React.ReactNode; } type ListType = React.ComponentType & { Avatar: typeof ListAvatar; Icon: typeof ListIcon; Item: typeof ListItem; Subheader: typeof ListSubheader; }; /** * # 📚 List * * A component used to group list items. */ export declare const List: ListType; export {};