components.widgets.Calendar.CalendarWidgetToolbar.jsx Maven / Gradle / Ivy
The newest version!
import React from 'react'
import PropTypes from 'prop-types'
import Toolbar from '../../buttons/Toolbar'
// пока не используется
function CalendarWidgetToolbar({ widgetId, toolbar, label }) {
return (
{label}
)
}
CalendarWidgetToolbar.propTypes = {
label: PropTypes.string,
widgetId: PropTypes.string,
toolbar: PropTypes.object,
}
CalendarWidgetToolbar.defaultProps = {
toolbar: {},
}
export default CalendarWidgetToolbar