Skip to content

Rename push to toast ? #73

@mrleblanc101

Description

@mrleblanc101

Why is the export named push ? Wouldn't it make more sense to name it toast like most other library ?

-push.info()
+toast.info()

-push.success()
+toast.success()

-push.warning()
+toast.warning()

-push.error()
+toast.error()

I know I can rename it when I import it, but i'd have to rename it every time.
import { push as toast } from 'notivue';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions