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