resto-ui

1.1.1 • Public • Published

Resto UI Logo

Resto UI

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.

Readme

Keywords

none

Package Sidebar

Install

npm i resto-ui

Weekly Downloads

1

Version

1.1.1

License

ISC

Unpacked Size

161 kB

Total Files

15

Last publish

Collaborators

  • resto-go
  • novakb