Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add background events feature #1851

Merged
merged 15 commits into from
Jan 29, 2021
Merged
Prev Previous commit
Next Next commit
Update time grid background event name
  • Loading branch information
rrjoson committed Feb 28, 2019
commit e029e777101f8f4e86a6f31aded14cd4e542b7d5
11 changes: 4 additions & 7 deletions src/TimeGridBackgroundEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import cn from 'classnames'
import React from 'react'

/* eslint-disable react/prop-types */
function TimeGridEvent(props) {
function TimeGridBackgroundEvent(props) {
const {
style,
className,
Expand All @@ -16,9 +16,7 @@ function TimeGridEvent(props) {
getters,
onClick,
onDoubleClick,
components: {
backgroundEventWrapper: BackgroundEventWrapper,
},
components: { backgroundEventWrapper: BackgroundEventWrapper },
} = props
let tooltip = accessors.tooltip(event)
let end = accessors.end(event)
Expand Down Expand Up @@ -56,10 +54,9 @@ function TimeGridEvent(props) {
'rbc-event-continues-later': continuesLater,
}
)}
>
</div>
/>
</BackgroundEventWrapper>
)
}

export default TimeGridEvent
export default TimeGridBackgroundEvent