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

Readme

Keywords

none

Package Sidebar

Install

npm i scheduler-lib

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

390 kB

Total Files

14

Last publish

Collaborators

  • vinodgadade