diff --git a/index.d.ts b/index.d.ts index b04bbfc..e7f3729 100644 --- a/index.d.ts +++ b/index.d.ts @@ -6,7 +6,7 @@ declare class QRCode extends React.PureComponent {} export interface QRCodeProps { /* what the qr code stands for */ - value?: string; + value?: string | Array<{data: string; mode: 'alphanumeric' | 'numeric' | 'byte' | 'kanji' | 'mixed';}>; /* the whole component size */ size?: number; /* the color of the cell */