English | 简体中文
@ray-js/ty-notification
Notification
Installation
$ npm install @ray-js/ty-notification
# or
$ yarn add @ray-js/ty-notification
Usage
const [show, setShow] = useState(false);
<Button type="primary" size="mini" onClick={() => setShow(true)}>
Click me
</Button>;
<TyNotification
show={show}
onClosed={() => setShow(false)}
text="Residual alarm of filter element"
/>;