diff --git a/packages/renderer/index.d.ts b/packages/renderer/index.d.ts index f6857cfcb..08f4ced17 100644 --- a/packages/renderer/index.d.ts +++ b/packages/renderer/index.d.ts @@ -248,7 +248,7 @@ declare namespace ReactPDF { name: string; } - class FormField extends React.Component< + export class FormField extends React.Component< React.PropsWithChildren > {} @@ -280,7 +280,7 @@ declare namespace ReactPDF { format?: TextInputFormatting; } - class TextInput extends React.Component {} + export class TextInput extends React.Component {} interface CheckboxProps extends FormCommonProps { backgroundColor?: string; @@ -291,7 +291,7 @@ declare namespace ReactPDF { xMark?: boolean; } - class Checkbox extends React.Component {} + export class Checkbox extends React.Component {} interface PickerAndListPropsBase extends FormCommonProps { sort?: boolean; @@ -315,9 +315,9 @@ declare namespace ReactPDF { | PickerAndListPropsWithEdit | PickerAndListPropsWithNoSpell; - class Picker extends React.Component {} + export class Picker extends React.Component {} - class FormList extends React.Component {} + export class FormList extends React.Component {} interface NoteProps extends NodeProps { children: string;