Uses Window.alert() to display message to a user.
import {Alert} from 'libreact/lib/Alert';
<Alert show text='Hello world' />show- boolean, optional, whether to show the alert.text- string, require, string message to display to the user.
Uses Window.alert() to display message to a user.
import {Alert} from 'libreact/lib/Alert';
<Alert show text='Hello world' />show - boolean, optional, whether to show the alert.text - string, require, string message to display to the user.