UNPKG

artwork-react-native

Version:

artwork design master for react-native

21 lines (20 loc) 590 B
/// <reference types="react" /> /// <reference types="react-native" /> import React from 'react'; import { ListProps as BasePropsType } from './PropsType'; import ListStyle from './style'; import Item from './ListItem'; export interface ListProps extends BasePropsType { styles?: typeof ListStyle; } export default class List extends React.Component<ListProps, any> { static Item: typeof Item; static defaultProps: { styles: { [x: string]: number & { __registeredStyleBrand: any; }; }; }; render(): JSX.Element; }