1import React from 'react';
2import { StyleSheet, Text } from 'react-native';
3import { LogBoxMessage } from '../UI/LogBoxMessage';
4import * as LogBoxStyle from '../UI/LogBoxStyle';
5export function ErrorToastMessage({ message }) {
6    return (React.createElement(Text, { numberOfLines: 1, style: styles.text }, message && React.createElement(LogBoxMessage, { plaintext: true, message: message, style: styles.substitutionText })));
7}
8const styles = StyleSheet.create({
9    text: {
10        userSelect: 'none',
11        paddingLeft: 8,
12        color: LogBoxStyle.getTextColor(1),
13        flex: 1,
14        fontSize: 14,
15        lineHeight: 22,
16    },
17    substitutionText: {
18        color: LogBoxStyle.getTextColor(0.6),
19    },
20});
21//# sourceMappingURL=ErrorToastMessage.js.map