mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
react-pdf: Add children to Document component Props (#37391)
This commit is contained in:
committed by
Nathan Shively-Sanders
parent
93013898d7
commit
707083acb9
Vendored
+2
@@ -105,6 +105,8 @@ export interface Props {
|
||||
* 90 = rotated to the right, 180 = upside down, 270 = rotated to the left.
|
||||
*/
|
||||
rotate?: number;
|
||||
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
export default class Document extends React.Component<Props> { }
|
||||
|
||||
Vendored
+1
@@ -1,6 +1,7 @@
|
||||
// Type definitions for react-pdf 4.0
|
||||
// Project: https://github.com/wojtekmaj/react-pdf/
|
||||
// Definitions by: CodeDaraW <https://github.com/CodeDaraW>
|
||||
// Nathan Hardy <https://github.com/nhardy>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user