We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Props
1 parent 0ed9598 commit 1bd1824Copy full SHA for 1bd1824
lib/attributes-to-props.d.ts
@@ -1,7 +1,10 @@
1
// TypeScript Version: 4.1
2
3
export type Attributes = Record<string, string>;
4
-export type Props = Attributes;
+
5
+export type Props = Record<string, string> & {
6
+ style: Record<string, string>;
7
+};
8
9
/**
10
* Converts HTML/SVG DOM attributes to React props.
0 commit comments