@agney/ir-toast
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -1,2 +0,2 @@ | ||
import { ToastProvider, useToast } from "./useToast"; | ||
export { ToastProvider, useToast, }; | ||
import { ToastProvider, useToast } from './useToast'; | ||
export { ToastProvider, useToast }; |
@@ -1,4 +0,4 @@ | ||
import { FC } from "react"; | ||
import { ToastOptions } from "@ionic/react"; | ||
import { ReactControllerProps } from "@ionic/react/dist/types/components/createControllerComponent"; | ||
import { FC } from 'react'; | ||
import { ToastOptions } from '@ionic/react'; | ||
import { ReactControllerProps } from '@ionic/react/dist/types/components/createControllerComponent'; | ||
declare type ReactToastOptions = ToastOptions & Partial<ReactControllerProps>; | ||
@@ -5,0 +5,0 @@ declare type ToastInstance = { |
{ | ||
"name": "@agney/ir-toast", | ||
"description": "Enables the use of imperative Toasts as in Angular", | ||
"author": "Agney Menon <agney@outlook.in>", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"license": "MIT", | ||
@@ -28,3 +29,3 @@ "main": "dist/index.js", | ||
"hooks": { | ||
"pre-commit": "tsdx lint" | ||
"pre-commit": "tsdx lint --fix" | ||
} | ||
@@ -49,3 +50,3 @@ }, | ||
"husky": "^4.2.3", | ||
"np": "^5", | ||
"np": "^6.2.0", | ||
"react": "^16.13.1", | ||
@@ -52,0 +53,0 @@ "react-dom": "^16.13.1", |
<h1 align=left>Ionic React Imperative Toast 🥂</h1> | ||
<p> | ||
<a href="https://www.npmjs.com/package/@agney/react-avatar" target="_blank"> | ||
<img alt="npm" src="https://img.shields.io/npm/v/@agney/ir-toast"> | ||
</a> | ||
<a href="https://github.com/agneym/ir-toast/actions"> | ||
<img src="https://github.com/agneym/ir-toast/workflows/Node%20CI/badge.svg" /> | ||
</a> | ||
<a href="https://github.com/agneym/ir-toast/blob/master/LICENSE" target="_blank"> | ||
<img alt="License: MIT" src="https://img.shields.io/github/license/agneym/react-avatar" /> | ||
</a> | ||
<a href="https://www.npmjs.com/package/@agney/ir-toast" target="_blank"> | ||
<img alt="License: MIT" src="https://img.shields.io/npm/types/scrub-js.svg" /> | ||
</a> | ||
<a href="https://prettier.io"> | ||
<img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg" /> | ||
</a> | ||
<a href="http://makeapullrequest.com"> | ||
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" /> | ||
</a> | ||
</p> | ||
This packages enables the use of imperative Toasts as in Angular. | ||
@@ -4,0 +25,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
25429
267
65