scheduler-lib
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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}
          />
  }
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.10latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.10
1.1.00
1.0.190
1.0.180
1.0.170
1.0.160
1.0.150
1.0.140
1.0.130
1.0.120
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i scheduler-lib

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

390 kB

Total Files

14

Last publish

Collaborators

  • vinodgadade