@protacon/muster-booking-frontend v1.28.4
Muster booking frontend
Online booking frontend
Install
npm install @protacon/muster-booking-frontendUsage
import BookingComponent from '@protacon/muster-booking-frontend'
import '@protacon/muster-booking-frontend/dist/styles.bundle.css'
...
render() {
return (
<BookingComponent
locale="sv"
timezone="Europe/Stockholm"
apiEndpoint="https://.../booking.api/v1"
chainId={2}
googleApiKey="..."
maxStations={5}
// Optional. Preselect reservation params
plateNumber="..."
product="..." // Inspection | PostInspection | ConditionInspection
stationId={...}
// Optional. Start component with search reservation form, optionaly pass default values
searchReservation={{
bookingNumber: '...',
lastName: '...',
}}
/>
)
}To start component with existing reservation payment navigate to page with component with search:
?continuePaymentReservationUid={reservationUid}&stationId={stationId}To start component with existing reservation edit navigate to page with component with search:
?reservationId={reservationUid}&stationId={stationId}Development
npm start
open http://localhost:8080/10 months ago
7 months ago
7 months ago
7 months ago
6 months ago
6 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago