
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@dedevs/docs-widget
Advanced tools
Chat with your docs using our customizable widget.
A simple React component that displays 'Hello World'. This package is intended as a basic example of how to create and publish a React component to npm.
To install this component, you can use pnpm (etc.):
pnpm install @dedevs/docs-widget
Once installed, you can import and use the DocsWidget component in your React application:
import React from "react";
import DocsWidget from "@dedevs/docs-widget";
function App() {
return (
<div>
<h1>My Application</h1>
<DocsWidget />
</div>
);
}
export default App;
To test this component locally before publishing:
Navigate to the component's directory:
cd path/to/docs-widget
(For your setup, this would be cd /Users/buns/Documents/GitHub/DeDevsClub/docs-widget)
Link the package locally: This command creates a global symbolic link for your package.
pnpm link
Create a new React test application (if you don't have one): Use Create React App or your preferred setup. Navigate outside the component's directory first.
cd ..
npx create-react-app my-test-app
cd my-test-app
Link the component to your test application:
This command links the globally linked package to your test application's node_modules.
pnpm link @dedevs/docs-widget
Use the component in your test application:
Modify src/App.js in my-test-app as shown in the Usage section above.
Run the test application:
pnpm start
This should open your browser and display the 'Docs Widget' component.
Feel free to open issues or submit pull requests. For major changes, please open an issue first to discuss what you would like to change.
FAQs
Chat with your docs using our customizable widget.
The npm package @dedevs/docs-widget receives a total of 19 weekly downloads. As such, @dedevs/docs-widget popularity was classified as not popular.
We found that @dedevs/docs-widget demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.