0.10.12 • Published 6 months ago

@uireact/notifications v0.10.12

Weekly downloads
-
License
GNU
Repository
-
Last release
6 months ago

@UiReact

UiReact icon

This is a React UI library, that defines a customizable theme object that powers all colorations, texts, sizes, etc.. Across your react application.

We are built using framer-motion for great animations and styled-components for easy CSS management.

You should visit our docs page for all information @uireact docs.

@uireact/notifications

This package exports useNotifications hook that is used to attach notifications on the web application, the UiView component needs to be set up in order for the notifications to be rendered.

We have a page dedicated to this component @uireact/notifications docs.

Usage

Get @UiReact library working

First step is to get the library working for this you can look at this doc: Getting started.

Install package

If using npm:

npm i -S @uireact/progress-indicator

Use it

    import { useNotifications } from '@uireact/nottifications';


    const { showNotification } = useNotifications();

    const addNotification = useCallback(() => {
        showNotification({
        icon: 'Check',
        title: 'New notification',
        message: 'This is a new notification',
        });
    }, [showNotification]);

    const addLinkNotification = useCallback(() => {
        showNotification({
        icon: 'Link',
        title: 'Notification with link',
        message: 'This is a new notification that shows a link',
        link: {
            label: 'Ui React docs',
            url: 'https://uireact.io',
        },
        });
    }, [showNotification]);
0.10.12

6 months ago

0.10.10

10 months ago

0.10.11

10 months ago

0.10.9

10 months ago

0.10.1

10 months ago

0.10.2

10 months ago

0.10.3

10 months ago

0.10.4

10 months ago

0.10.5

10 months ago

0.10.6

10 months ago

0.10.7

10 months ago

0.10.8

10 months ago

0.9.25

11 months ago

0.9.26

11 months ago

0.10.0

10 months ago

0.9.27

10 months ago

0.9.28

10 months ago

0.9.19

11 months ago

0.9.23

11 months ago

0.9.24

11 months ago

0.9.20

11 months ago

0.9.21

11 months ago

0.9.22

11 months ago

0.9.18

11 months ago

0.9.12

1 year ago

0.9.13

1 year ago

0.9.14

1 year ago

0.9.15

1 year ago

0.9.11

1 year ago

0.9.16

1 year ago

0.9.17

1 year ago

0.9.8

1 year ago

0.9.7

1 year ago

0.9.9

1 year ago

0.9.10

1 year ago

0.9.6

1 year ago

0.9.5

1 year ago

0.9.4

1 year ago

0.9.3

1 year ago

0.9.2

1 year ago

0.9.1

1 year ago

0.9.0

1 year ago

0.8.0

1 year ago

0.7.0

1 year ago

0.6.0

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.5

1 year ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago