@mitesh-v2stech/react-native-toast-message
Version:
Toast message component for React Native
20 lines (15 loc) • 373 B
JavaScript
import React from 'react';
import BaseToast from './base';
import { icons } from '../assets';
import colors from '../colors';
function ErrorToast(props) {
return (
<BaseToast
{...props}
style={{ borderLeftColor: colors.blazeOrange }}
leadingIcon={icons.error}
/>
);
}
ErrorToast.propTypes = BaseToast.propTypes;
export default ErrorToast;