UNPKG

react-native-lamantin

Version:

Set of components for https://lamantin.group development

39 lines (38 loc) 1 kB
import { PureComponent } from 'react'; import { ImageSourcePropType, ViewStyle, ImageProps } from 'react-native'; import { Theme } from './Theme'; export declare type ActionItem = { title: string; description?: string; onPress?: () => void; logo?: ImageSourcePropType; }; export interface AboutComponentProps { app: ActionItem & { logoProps: ImageProps; }; actions: ActionItem[]; company?: ActionItem & { includeYear: boolean; includeCopyright: boolean; }; style?: ViewStyle; headerStyle?: ViewStyle & { theme?: Theme; }; actionStyle?: ViewStyle; theme?: Theme; } export declare class AboutComponent extends PureComponent<AboutComponentProps> { static defaultProps: { style: {}; company: { title: string; description: string; }; theme: Theme; }; renderHeader(): JSX.Element; renderFooter(): JSX.Element | null; render(): JSX.Element; }