UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

17 lines (16 loc) 858 B
'use client'; import { withWebComponent } from '@ui5/webcomponents-react-base'; /** * The `CalendarLegend` component is designed for use within the `Calendar` to display a legend. * Each `CalendarLegendItem` represents a unique date type, specifying its visual style * and a corresponding textual label. * * * * __Note:__ This is a UI5 Web Component! [CalendarLegend UI5 Web Component Documentation](https://ui5.github.io/webcomponents/components/CalendarLegend) | [Repository](https://github.com/UI5/webcomponents) * * @since [1.23.0](https://github.com/UI5/webcomponents/releases/tag/v1.23.0) of __@ui5/webcomponents__. */ const CalendarLegend = withWebComponent('ui5-calendar-legend', [], ['hideNonWorkingDay', 'hideSelectedDay', 'hideToday', 'hideWorkingDay'], [], []); CalendarLegend.displayName = 'CalendarLegend'; export { CalendarLegend };