1.1.1 • Published 1 year ago
resto-ui v1.1.1
RestoUI contains foundational Resto UI component libraries for shipping new features faster.
Installation and usage
Install the resto-ui package with NPM:
npm install resto-ui
Notification
Display a notification message at any of the four corners of the viewport
import { Notification } from 'resto-ui';
Notification.open({
duration: 3,
title: 'Title',
description: 'Description',
type: 'success',
});
Duration
can be used to specify how long the notification stays open. Default value is 3 seconds. If you set the value to 0, the notification box will never close automatically.
A notification box can appear from the topLeft topRight bottomLeft or bottomRight
of the viewport via position
.
1.1.1
1 year ago
1.1.0
1 year ago
1.0.10-master-rc.0
1 year ago
1.0.6
1 year ago
1.0.5-master-rc.0
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago