New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

x-widget-react

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

x-widget-react

React component library designed to seamlessly integrate X Widget into your React applications.

latest
Source
npmnpm
Version
1.0.4
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

x-widget-react

x-widget-react is a React component library designed to seamlessly integrate X Widget into your React applications. It allows you to embed a customizable X Widget with a simple component, providing your application with enhanced functionality tailored to your needs.

Installation

To install the package, run the following command in your project directory:

npm i x-widget-react

This will add x-widget-react to your project's dependencies.

Usage

After installation, you can use x-widget-react in your project by importing the XWidget component and embedding it into your application. Here's a quick start guide:

  • Import XWidget in the root of your React project:
import { XWidget } from 'x-widget-react'
  • Use the XWidget component in your application, passing the workspaceId as a prop:
<XWidget workspaceId={'<workspace_id>'} />

Ensure that you replace <workspace_id> with your actual workspace ID.

Props

  • workspaceId (required): A unique identifier for your workspace, used to initialise the X Widget.

x-widget-react

FAQs

Package last updated on 18 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts