Skip to content

Commit 9577479

Browse files
committed
package renamed
1 parent e2e211f commit 9577479

File tree

10 files changed

+27
-27
lines changed

10 files changed

+27
-27
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<h1 align="center">react-scrollbar-custom</h1>
1+
<h1 align="center">react-scrollbars-custom</h1>
22
<p align="center">
3-
<a href="https://www.npmjs.com/package/react-scrollbar-custom"><img src="https://img.shields.io/badge/npm-react--scrollbar--custom-brightgreen.svg" /></a>
4-
<a href="https://www.npmjs.com/package/react-scrollbar-custom"><img src="https://img.shields.io/npm/l/react-scrollbar-custom.svg" /></a>
5-
<a href="https://www.npmjs.com/package/react-scrollbar-custom"><img src="https://img.shields.io/npm/v/react-scrollbar-custom.svg" /></a>
6-
<a href="https://www.npmjs.com/package/react-scrollbar-custom"><img src="https://img.shields.io/npm/dt/react-scrollbar-custom.svg" /></a>
3+
<a href="https://www.npmjs.com/package/react-scrollbars-custom"><img src="https://img.shields.io/badge/npm-react--scrollbar--custom-brightgreen.svg" /></a>
4+
<a href="https://www.npmjs.com/package/react-scrollbars-custom"><img src="https://img.shields.io/npm/l/react-scrollbars-custom.svg" /></a>
5+
<a href="https://www.npmjs.com/package/react-scrollbars-custom"><img src="https://img.shields.io/npm/v/react-scrollbars-custom.svg" /></a>
6+
<a href="https://www.npmjs.com/package/react-scrollbars-custom"><img src="https://img.shields.io/npm/dt/react-scrollbars-custom.svg" /></a>
77
<a></a>
88
</p>
99
<p align="center">
@@ -21,14 +21,14 @@
2121
2222
## Installation
2323
```bash
24-
npm i --save react-scrollbar-custom
24+
npm i --save react-scrollbars-custom
2525
```
2626

2727
## Usage
2828
Minimal configuration
2929
```javascript
3030
import React, { Component } from 'react';
31-
import Scrollbar from 'react-scrollbar-custom';
31+
import Scrollbar from 'react-scrollbars-custom';
3232

3333
class App extends Component
3434
{

docs/CUSTOMISATION.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# CUSTOMISATION
2-
`react-scrollbar-custom` is a fully customizable component, it consist of the following elements:
2+
`react-scrollbars-custom` is a fully customizable component, it consist of the following elements:
33
* `holder` Holds content and scrollbars
44
* `wrapper` Wraps the content in order to hide browser's scrollbars
55
* `content` The element your content rendered in
@@ -12,7 +12,7 @@ Each of them (excepting holder) can be replaced and rendered with a function whi
1212
4ex: if you want to change the className of elements.
1313
```javascript
1414
import React, { Component } from 'react';
15-
import Scrollbar from 'react-scrollbar-custom';
15+
import Scrollbar from 'react-scrollbars-custom';
1616

1717
class App extends Component
1818
{
@@ -37,7 +37,7 @@ Component provides scroll controlling methods, a list of which you can find in t
3737
To call them you have to make a reference to `<Scrollbar/>` component. Below you can see how to access component's methods and it's DOM elements:
3838
```javascript
3939
import React, { Component } from 'react';
40-
import Scrollbar from 'react-scrollbar-custom';
40+
import Scrollbar from 'react-scrollbars-custom';
4141

4242
class App extends Component
4343
{
@@ -59,4 +59,4 @@ class App extends Component
5959
return <Scrollbar ref="scrollbar"/>;
6060
}
6161
}
62-
```
62+
```

docs/USAGE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
The `<Scrollbar />` component works out of the box, with only need of `width` and `height` to be set, inline or via CSS;
55
```javascript
66
import React, { Component } from 'react';
7-
import Scrollbar from 'react-scrollbar-custom';
7+
import Scrollbar from 'react-scrollbars-custom';
88

99
class App extends Component
1010
{
@@ -42,7 +42,7 @@ Note, that if `scrollY={false}` and `scrollX={false}` will be set simultaneously
4242
To customize scrollbars as you wish - you may want to turn off default styles.
4343
```javascript
4444
import React, { Component } from 'react';
45-
import Scrollbar from 'react-scrollbar-custom';
45+
import Scrollbar from 'react-scrollbars-custom';
4646

4747
class App extends Component
4848
{
@@ -73,7 +73,7 @@ Styles presented in markup above are not removable and needed to proper componen
7373
There are several events you can listen to. Each listener will be called _inside the animation frame_.
7474
```javascript
7575
import React, { Component } from 'react';
76-
import Scrollbar from 'react-scrollbar-custom';
76+
import Scrollbar from 'react-scrollbars-custom';
7777

7878
class App extends Component
7979
{
@@ -93,7 +93,7 @@ class App extends Component
9393
It is possible that DOM will be changed not only with React: for these cases `<Scrollbar />` has automatic content tracker.
9494
```javascript
9595
import React, { Component } from 'react';
96-
import Scrollbar from 'react-scrollbar-custom';
96+
import Scrollbar from 'react-scrollbars-custom';
9797

9898
class App extends Component
9999
{

examples/components/AutohideScrollbars/App.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/components/CustomStyleScrollbars/App.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/components/DefaultStyleScrollbars/App.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/components/SandboxScrollbars/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import Scrollbar from 'react-scrollbar-custom';
2+
import Scrollbar from 'react-scrollbars-custom';
33

44
export default class App extends React.Component
55
{

examples/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>Examples react-scrollbar-custom</title>
5+
<title>Examples react-scrollbars-custom</title>
66

77
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
88
<meta name="apple-mobile-web-app-capable" content="yes" />
@@ -14,7 +14,7 @@
1414

1515
<body>
1616
<div id="libHead">
17-
<h1>react-scrollbar-custom</h1>
17+
<h1>react-scrollbars-custom</h1>
1818
<a href="https://github.com/xobotyi/react-scrollbars-custom"><i class="fa fa-github"></i></a>
1919
</div>
2020

@@ -23,9 +23,9 @@ <h1>react-scrollbar-custom</h1>
2323
<div class="scrollers" id="appRoot"></div>
2424

2525
<div id="foot">
26-
<a class="libLink" href="https://github.com/xobotyi/react-scrollbars-custom">react-scrollbar-custom</a><a class="authorLink" href="https://github.com/xobotyi">Anton Zinovyev</a>
26+
<a class="libLink" href="https://github.com/xobotyi/react-scrollbars-custom">react-scrollbars-custom</a><a class="authorLink" href="https://github.com/xobotyi">Anton Zinovyev</a>
2727
</div>
2828
</body>
2929

3030
<script src="static/bundle.js"></script>
31-
</html>
31+
</html>

examples/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = {
1515
},
1616
resolve: {
1717
alias: {
18-
"react-scrollbar-custom": path.join(__dirname, '..', 'src'),
18+
"react-scrollbars-custom": path.join(__dirname, '..', 'src'),
1919
},
2020
extensions: ['.js'],
2121
},
@@ -47,4 +47,4 @@ module.exports = {
4747
},
4848
],
4949
},
50-
};
50+
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-scrollbar-custom",
2+
"name": "react-scrollbars-custom",
33
"description": "The best React custom scrollbars component",
44
"version": "1.2.0",
55
"repository": {

0 commit comments

Comments
 (0)