diff --git a/index.d.ts b/index.d.ts index f3700cd..3511f08 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,7 +1,7 @@ import * as React from "react"; import { Image, ImageSourcePropType } from "react-native"; -declare class QRCode extends React.PureComponent {} +declare const QRCode: React.FC; export interface QRCodeProps { /* what the qr code stands for */