1 | import { ViewStyle, StyleProp, TextStyle } from 'react-native';
|
2 | import PropTypes from 'prop-types';
|
3 | import { IMessage } from './Models';
|
4 | export interface SystemMessageProps<TMessage extends IMessage> {
|
5 | currentMessage?: TMessage;
|
6 | containerStyle?: StyleProp<ViewStyle>;
|
7 | wrapperStyle?: StyleProp<ViewStyle>;
|
8 | textStyle?: StyleProp<TextStyle>;
|
9 | }
|
10 | export declare function SystemMessage<TMessage extends IMessage = IMessage>({ currentMessage, containerStyle, wrapperStyle, textStyle, }: SystemMessageProps<TMessage>): JSX.Element | null;
|
11 | export declare namespace SystemMessage {
|
12 | var propTypes: {
|
13 | currentMessage: PropTypes.Requireable<object>;
|
14 | containerStyle: PropTypes.Requireable<number | boolean | object>;
|
15 | wrapperStyle: PropTypes.Requireable<number | boolean | object>;
|
16 | textStyle: PropTypes.Requireable<number | boolean | object>;
|
17 | };
|
18 | }
|