Skip to content

Commit 70245c4

Browse files
committed
add missing doc + gh pages deployment
1 parent 9989400 commit 70245c4

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/demo.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build and Deploy
2+
on: [push]
3+
# on:
4+
# push:
5+
# tags:
6+
# - release/*
7+
jobs:
8+
build-and-deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout 🛎️
12+
uses: actions/[email protected]
13+
14+
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
15+
run: |
16+
npm install
17+
npm run build
18+
19+
- name: Deploy 🚀
20+
uses: JamesIves/[email protected]
21+
with:
22+
branch: gh-pages # The branch the action should deploy to.
23+
folder: build # The folder the action should deploy.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ renderStaticRangeLabel(`DefinedRange`)| Function | | Callback f
140140
staticRanges(`DefinedRange`, `DateRangePicker`) | Array | [default preDefined ranges](https://github.com/hypeserver/react-date-range/blob/master/src/defaultRanges.js) | -
141141
inputRanges(`DefinedRange`, `DateRangePicker`) | Array | [default input ranges](https://github.com/hypeserver/react-date-range/blob/master/src/defaultRanges.js) | -
142142
ariaLabels | Object | {} | inserts aria-label to inner elements
143+
dayContentRenderer | Function | null | Function to customize the rendering of Calendar Day. given a date is supposed to return what to render.
143144

144145
*shape of range:
145146
```js

0 commit comments

Comments
 (0)