Time Off Policies Settings Reference
TimeOffSettings
is the main entry point for users to configure and manage their time-off policies and settings.Policy settings interface showing policy details, employee assignments, and configuration options
Basic Implementation
iframe
React
Component Behavior
TimeOffSettings
component is the main entry point for all time off-related features.Policy settings interface global configuration
Events and Callbacks
Event | Trigger | Payload |
---|---|---|
onTimeOffPolicyCreate | Admin creates a new time off policy | time_off_policy object |
onTimeOffPolicyEdit | Admin modifies an existing time off policy | time_off_policy object |
onTimeOffPolicyDelete | Admin deletes a time off policy | time_off_policy object |
onTimeOffPolicyEnable | User activates a draft or inactive policy | time_off_policy object |
onTimeOffPolicyDisable | User deactivates a policy | time_off_policy object |
Component Properties
Property | Type | Required | Description |
---|---|---|---|
goToPolicy | (policyId: string) => void | Yes | Callback to navigate to a specific policy |
showTimeOffSettings | boolean | No | Show time off settings as enabled or disabled. Defaults to true. |
TimeOffSettings
component is the entry point to creating time-off policies. All other time-off related components will link their empty state to this settings page.Modified at 2025-06-12 12:03:28