Skip to content

Commit

Permalink
fix(calendar): fix minor type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Birkbjo committed Oct 8, 2024
1 parent d5d4714 commit c310fbc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions components/calendar/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ export interface CalendarProps {
* the size of a single cell in the table forming the calendar
*/
cellSize?: string

/**
* Add a "clear" button to delete the selected date
*/
clearable?: boolean
/**
* the currently selected date using an iso-like format YYYY-MM-DD, in the calendar system provided (not iso8601)
*/
Expand Down Expand Up @@ -53,8 +58,7 @@ export interface CalendarProps {
export const Calendar: React.FC<CalendarProps>

export type CalendarInputProps = Omit<
InputFieldProps,
'label' | 'type' | 'value'
InputFieldProps, 'type' | 'value'
> &
CalendarProps

Expand Down

0 comments on commit c310fbc

Please sign in to comment.