UNPKG

react-native-ui-lib

Version:

[![Build Status](https://travis-ci.org/wix/react-native-ui-lib.svg?branch=master)](https://travis-ci.org/wix/react-native-ui-lib) [![npm](https://img.shields.io/npm/v/react-native-ui-lib.svg)](https://www.npmjs.com/package/react-native-ui-lib) [![NPM Down

16 lines (15 loc) 503 B
import React from "react"; import { BaseComponent } from "../../commons"; import Toast from "../toast"; /** * @description: The Notification component will be changed soon, please use the Toast component instead */ export default class Notification extends BaseComponent { constructor(props) { super(props); console.error('"Notification" component will be changed soon, please use "Toast" component instead.'); } render() { return <Toast {...this.props}/>; } }