Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
fix: add component prop type for html attributes(#13) (#14)
Browse files Browse the repository at this point in the history
* fix: add component type for html attributes(#13)
* fix: apply feedback(change HTMLElement)
  • Loading branch information
jungeun-cho committed Sep 16, 2019
1 parent 892f904 commit c1da941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Component} from "react";
import {HTMLAttributes, Component} from "react";

import TuiCalendar, {
ISchedule,
Expand Down Expand Up @@ -26,7 +26,7 @@ type Props = IOptions & EventMaps & {
height: string;
view?: string;
schedules?: ISchedule[];
};
} & HTMLAttributes<HTMLElement>;

export default class Calendar extends Component<Props> {
public getInstance(): TuiCalendar;
Expand Down

0 comments on commit c1da941

Please sign in to comment.