Skip to content

Commit d156e52

Browse files
author
Ahmed Mahmoud
committed
fix: update README with correct scoped package name and links
- Fix npm badges to point to @dev-ahmed-mahmoud/react-custom-scrollbars - Update installation instructions with correct package name - Fix import statements in code examples - Ensure GitHub can properly link to the npm package
1 parent 73d352e commit d156e52

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# react-custom-scrollbars
22

3-
[![npm](https://img.shields.io/badge/npm-react--custom--scrollbars-brightgreen.svg?style=flat-square)]()
4-
[![npm version](https://img.shields.io/npm/v/react-custom-scrollbars.svg?style=flat-square)](https://www.npmjs.com/package/react-custom-scrollbars)
5-
[![npm downloads](https://img.shields.io/npm/dm/react-custom-scrollbars.svg?style=flat-square)](https://www.npmjs.com/package/react-custom-scrollbars)
3+
[![npm](https://img.shields.io/badge/npm-%40dev--ahmed--mahmoud%2Freact--custom--scrollbars-brightgreen.svg?style=flat-square)](https://www.npmjs.com/package/@dev-ahmed-mahmoud/react-custom-scrollbars)
4+
[![npm version](https://img.shields.io/npm/v/@dev-ahmed-mahmoud/react-custom-scrollbars.svg?style=flat-square)](https://www.npmjs.com/package/@dev-ahmed-mahmoud/react-custom-scrollbars)
5+
[![npm downloads](https://img.shields.io/npm/dm/@dev-ahmed-mahmoud/react-custom-scrollbars.svg?style=flat-square)](https://www.npmjs.com/package/@dev-ahmed-mahmoud/react-custom-scrollbars)
66

77
Modern React scrollbars component with TypeScript support and React 19 compatibility.
88

@@ -22,7 +22,7 @@ Modern React scrollbars component with TypeScript support and React 19 compatibi
2222
## 📦 Installation
2323

2424
```bash
25-
npm install react-custom-scrollbars
25+
npm install @dev-ahmed-mahmoud/react-custom-scrollbars
2626
```
2727

2828
## 🚀 Usage
@@ -31,7 +31,7 @@ npm install react-custom-scrollbars
3131

3232
```typescript
3333
import React from 'react'
34-
import { Scrollbars } from 'react-custom-scrollbars'
34+
import { Scrollbars } from '@dev-ahmed-mahmoud/react-custom-scrollbars'
3535

3636
function App() {
3737
return (
@@ -46,7 +46,7 @@ function App() {
4646

4747
```typescript
4848
import React, { useRef } from 'react'
49-
import { Scrollbars, ScrollbarsRef, ScrollValues } from 'react-custom-scrollbars'
49+
import { Scrollbars, ScrollbarsRef, ScrollValues } from '@dev-ahmed-mahmoud/react-custom-scrollbars'
5050

5151
function CustomScrollbars() {
5252
const scrollbars = useRef<ScrollbarsRef>(null)

0 commit comments

Comments
 (0)