@wix/design-system
Version:
@wix/design-system
46 lines (25 loc) • 889 B
Markdown
## Feature Examples
### Actions
- description: Define labels for main actions with `primaryActionLabel` and `secondaryActionLabel` props.
Both submit and discard actions are mandatory and cannot be removed.
- example:
```jsx
```
### Disabled Action
- description: Disable primary action interactions with `primaryActionDisabled` prop.
Use it to restrict users from submitting invalid selections.
- example:
```jsx
```
### Selected Days
- description: Display a selected date or a date range using `selectedDays` prop.
Use it to inform users about active selection before submission.
- example:
```jsx
```
## Common Use Case Examples
### Calendar Panel
- description: Use calendar panel footer as a fundamental part of `<CalendarPanel/>` that requires user confirmation in order to submit and save a selection.
- example:
```jsx
```