0.0.2 • Published 5 months ago

@ray-js/ty-notification v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

English | 简体中文

@ray-js/ty-notification

latest download

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"
/>;
0.0.2

5 months ago

0.0.2-beta-1

5 months ago