Skip to content

Commit

Permalink
feat(typings): declare HTMLElementProps
Browse files Browse the repository at this point in the history
  • Loading branch information
wewoor committed Nov 20, 2020
1 parent 0640cc1 commit 3aed642
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/typings/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
export type ReactNode = React.ReactNode;
type ReactNode = React.ReactNode;
interface HTMLElementProps<T = any> {
id?: string;
style?: React.CSSProperties;
className?: string;
}

0 comments on commit 3aed642

Please sign in to comment.