0.0.7 • Published 5 months ago

react-mentions-input-latest v0.0.7

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
5 months ago

Package Name: react-mentions-input-latest

Description: Create custom chat-like input boxes in React with the ability to mention or tag users, resembling Google Chat features.

Example Image

Sample Image 2

Installation:

npm i react-mentions-input-latest

Usage Example

import MentionsInput from "react-mentions-input-latest";

// Usage in your component
<MentionsInput data={UsersList} trigger="@" />;

UsersList Structure:

const UsersList = [
  {
    id: 235075,
    name: "Your Name",
    userAvatar: "https://cdn.example.com/avatar.jpg",
  },
  // Add more users as needed
];

Note: Customize the trigger property to set the symbol for mentioning users (e.g., "@" or "#").

0.0.5

5 months ago

0.0.4

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago

0.0.0

5 months ago