1.1.1 • Published 4 years ago
scheduler-lib v1.1.1
scheduler-lib
Made with create-react-library
Install
npm install --save scheduler-lib
yarn add scheduler-lib
Props
baseUrl: string
logger: object
raygunCallback: Function
authTok: string
slotGroups: SlotGroupRegistryType[]
startDate: string //YYYY-mm-dd
endDate: string //YYYY-mm-dd
context: no_agent | user_scheduled;
referenceId: string
statusCallback: string
isMocked?: optional
Usage
import React, { Component } from 'react'
import { BookAppointment } from 'scheduler-lib';
import 'scheduler-lib/dist/index.css'
class Example extends Component {
render() {
return <BookAppointment
baseUrl='https://xyz.com'
logger={{}}
raygunCallback = {this.raygunCallback}
authTok='abcd'
slotGroups={[]}
context={'no_agent' || 'user_scheduled'}
startDate='2020-04-30'
endDate='2020-05-4'
referenceId='xyzd'
statusCallback={schedulerStatusCallback}
isMocked={false}
/>
}
}
1.1.1
4 years ago
1.1.0
4 years ago
1.0.19
4 years ago
1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago