Skip to content

Commit a32c78c

Browse files
committed
feat(typings): declare HTMLElementProps
1 parent 019b92b commit a32c78c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/typings/index.d.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
export type ReactNode = React.ReactNode;
1+
type ReactNode = React.ReactNode;
2+
interface HTMLElementProps<T = any> {
3+
id?: string;
4+
style?: React.CSSProperties;
5+
className?: string;
6+
}

0 commit comments

Comments
 (0)