Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export const DayGridEvent = React.forwardRef(function DayGridEvent(
occurrence,
variant,
className: classNameProp,
onEventClick,
id: idProp,
style: styleProp,
...other
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { CalendarEventOccurrenceWithDayGridPosition } from '@mui/x-scheduler-headless/models';
import { EventProps } from '../Event.types';

export interface DayGridEventProps extends EventProps {
export interface DayGridEventProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* The event occurrence to render.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export const EventItem = React.forwardRef(function EventItem(
occurrence,
ariaLabelledBy,
className,
onEventClick,
id: idProp,
style,
variant = 'regular',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { CalendarEventOccurrence } from '@mui/x-scheduler-headless/models';
import { EventProps } from '../Event.types';

export interface EventItemProps extends EventProps {
export interface EventItemProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* The event occurrence to render.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { CalendarEventOccurrenceWithTimePosition } from '@mui/x-scheduler-headless/models';
import { EventProps } from '../Event.types';

export interface TimeGridEventProps extends EventProps {
export interface TimeGridEventProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* The event occurrence to render.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,7 @@ export const TimelineEvent = React.forwardRef(function TimelineEvent(
props: TimelineEventProps,
forwardedRef: React.ForwardedRef<HTMLDivElement>,
) {
const {
occurrence,
ariaLabelledBy,
className,
onEventClick,
id: idProp,
style,
...other
} = props;
const { occurrence, ariaLabelledBy, className, id: idProp, style, ...other } = props;

const store = useTimelineStoreContext();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { CalendarEventOccurrenceWithTimePosition } from '@mui/x-scheduler-headless/models';
import { EventProps } from '../../../../internals/components/event/Event.types';

export interface TimelineEventProps extends EventProps {
export interface TimelineEventProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* The event occurrence to render.
*/
Expand Down
Loading