UNPKG

@wix/design-system

Version:

@wix/design-system

27 lines (24 loc) 973 B
### dataHook - type: string - description: Applies a data-hook HTML attribute that can be used in the tests ### primaryActionLabel - type: string - description: Defines primary (submit) action label ### secondaryActionLabel - type: string - description: Defines secondary (cancel) action label ### primaryActionDisabled - type: boolean - description: Specifies whether primary action is disabled ### primaryActionOnClick - type: MouseEventHandler - description: Defines a callback function which is called every time primary button is clicked ### secondaryActionOnClick - type: MouseEventHandler - description: Defines a callback function which is called every time secondary button is clicked ### selectedDays - type: string | Date | DateRangeType - description: Defines an active date or a date range selection ### dateToString - type: (date: Date) => string - description: Formats date into a string for displaying the current selected days. Receives a Date instance.