1.1.0 â€Ē Published 11 months ago

@ksankarkumar34/react-toast-notify v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

React Toast Notification 🍞

A lightweight, customizable toast notification system for React applications built with TypeScript and Vite.

Features âœĻ

  • 🚀 Easy to integrate with React applications
  • ðŸŽĻ Customizable toast notifications
  • âŒĻïļ Built with TypeScript
  • ðŸŠķ Lightweight implementation
  • ðŸ“ą Responsive design

Installation ðŸ“Ķ

This package is currently in development. To use it in your project:

  1. Clone the repository
git clone [your-repository-url]
  1. Install dependencies
npm install
  1. Build the project
npm run build

Usage 🚀

import { ToastProvider, useToast } from './path-to-library';

// Wrap your app with ToastProvider
function App() {
  return (
    <ToastProvider>
      <YourApp />
    </ToastProvider>
  );
}

// Use in your components
function Example() {
  const toast = useToast();

  return (
    <button onClick={() => toast.show('Hello, World!')}>
      Show Toast
    </button>
  );
}

Development 🛠ïļ

# Start development server
npm run dev

# Build the library
npm run build

# Preview the build
npm run preview

Contributing ðŸĪ

Contributions are welcome! Feel free to open issues and pull requests.

License 📄

MIT License

1.1.0

11 months ago

1.0.0

11 months ago