Skip to content

Commit 6e4902a

Browse files
committed
Version 1
1 parent 26a358f commit 6e4902a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ or
2121

2222
### Prerequisites
2323

24-
[React Bootstrap](https://github.com/react-bootstrap/react-bootstrap) must be installed and the [Bootstrap CSS](https://react-bootstrap.netlify.com/getting-started/introduction#stylesheets) imported.
24+
[React Bootstrap](https://github.com/react-bootstrap/react-bootstrap) must be installed and the [Bootstrap CSS](https://react-bootstrap.netlify.com/getting-started/introduction#stylesheets) imported (or included).
2525

2626
## Usage
2727

2828
In your `index.js` or similar:
2929

3030
```JavaScript
31-
import 'bootstrap/dist/css/bootstrap.css';
31+
import 'bootstrap/dist/css/bootstrap.css'; // or include from a CDN
3232
import 'react-bootstrap-range-slider/dist/react-bootstrap-range-slider.css';
3333
```
3434

@@ -56,11 +56,11 @@ const MyComponent = () => {
5656

5757
- Compatible with React Bootstrap v1.0.0+ and Bootstrap 4;
5858
- Implemented using native HTML `<input type="range">` element;
59+
- A tooltip can be configured to automatically display on hover or be constantly visible;
60+
- A custom tooltip formatter function can be provided.
5961
- Aligns horizontally with Bootstrap form controls;
6062
- Bootstrap small (`sm`) and large (`lg`) sizes are supported;
6163
- Bootstrap button color variants such as 'primary' and 'secondary' are supported;
62-
- A tooltip can be configured to automatically display on hover or be constantly visible;
63-
- A custom tooltip formatter function can be provided.
6464

6565
## Options (as React props)
6666

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-bootstrap-range-slider",
3-
"version": "0.3.8",
3+
"version": "1.0.0",
44
"description": "A range slider component for React Bootstrap (Bootstrap 4) that extends the native HTML input (type=range) element.",
55
"keywords": [
66
"react",

0 commit comments

Comments
 (0)