meeting-scheduler-npm-package 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ A reusable React / Next.js meeting scheduler component.
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
13
|
```tsx
|
|
14
|
-
import { MeetingScheduler } from "
|
|
14
|
+
import { MeetingScheduler } from "meeting-scheduler-npm-package";
|
|
15
15
|
|
|
16
16
|
export default function Page() {
|
|
17
17
|
return <MeetingScheduler />;
|
package/dist/config.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const API_BASE = "
|
|
1
|
+
export declare const API_BASE = "http://160.250.197.118:9000/api";
|
package/dist/index.cjs.js
CHANGED
|
@@ -489,7 +489,7 @@ function IoIosArrowBack (props) {
|
|
|
489
489
|
}
|
|
490
490
|
|
|
491
491
|
const daysOfWeek = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"];
|
|
492
|
-
const MeetingScheduler = ({ userId = 1, availabilityId = 1, authToken: propAuthToken, email = "superadmin1@
|
|
492
|
+
const MeetingScheduler = ({ userId = 1, availabilityId = 1, authToken: propAuthToken, email = "superadmin1@example.com", password = "password", apiBase, onSuccess, onError, }) => {
|
|
493
493
|
const [currentMonth, setCurrentMonth] = React.useState(new Date());
|
|
494
494
|
const [selectedDate, setSelectedDate] = React.useState(null);
|
|
495
495
|
const [availableSlots, setAvailableSlots] = React.useState([]);
|