Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit 7f2b1f8

Browse files
committed
Add introduction section to the styleguide
1 parent 0bb91f9 commit 7f2b1f8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

demo/README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
this is readme
1+
**react-date-range** can be installed with **npm**, by the following command:
2+
3+
```bash static
4+
npm install react-date-range
5+
```
6+
7+
First, styles and theme file must be imported:
8+
9+
```js static
10+
import 'react-date-range/dist/styles.css'; // main css file
11+
import 'react-date-range/dist/theme/default.css'; // theme css file
12+
```
13+
14+
Then, import one of the 4 standalone components: [DateRange](#daterange), [DateRangePicker](#daterangepicker), [Calendar](#calendar), [DefinedRange](#definedrange)

0 commit comments

Comments
 (0)