1.1.1 • Published 5 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
5 years ago
1.1.0
5 years ago
1.0.19
5 years ago
1.0.18
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago