artwork-react-native
Version:
artwork design master for react-native
29 lines (28 loc) • 874 B
TypeScript
/// <reference types="react" />
import React, { ReactNode } from 'react';
export interface ListProps {
renderHeader?: Function | JSX.Element;
renderFooter?: Function | JSX.Element;
children?: JSX.Element | JSX.Element[];
style?: React.CSSProperties | {} | Array<{}>;
}
export interface ListItemProps {
align?: 'top' | 'middle' | 'bottom';
disabled?: boolean;
multipleLine?: boolean;
children?: ReactNode;
thumb?: ReactNode | null;
extra?: ReactNode;
arrow?: 'horizontal' | 'down' | 'up' | 'empty' | '';
wrap?: boolean;
onClick?: (e?: any) => void;
style?: React.CSSProperties | {} | Array<{}>;
activeStyle?: React.CSSProperties;
error?: boolean;
platform?: 'android' | 'ios';
}
export interface BriefProps {
children?: ReactNode;
wrap?: boolean;
style?: React.CSSProperties | {} | Array<{}>;
}