Skip to content

Commit

Permalink
DateTime: Remove unused types (#45615)
Browse files Browse the repository at this point in the history
  • Loading branch information
Petter Walbø Johnsgård committed Nov 9, 2022
1 parent a8cddf9 commit a607db3
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions packages/components/src/date-time/types.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/**
* External dependencies
*/
import type { Moment } from 'moment';

export type TimePickerProps = {
/**
* The initial current time the time picker should render.
Expand Down Expand Up @@ -30,20 +25,6 @@ export type DatePickerEvent = {
date: Date;
};

export type DatePickerDayProps = {
/**
* The day to display.
*/
day: Moment;

/**
* List of events to show on this day.
*
* @default []
*/
events?: DatePickerEvent[];
};

export type DatePickerProps = {
/**
* The current date and time at initialization. Optionally pass in a `null`
Expand Down

0 comments on commit a607db3

Please sign in to comment.